Learn R Programming

SwathXtend (version 1.0.0)

plotRTCor: Plot for retention time correlation of two libraries

Description

Plot for retention time correlation of two libraries

Usage

plotRTCor(dat1, dat2, label1, label2, nomod = FALSE)

Arguments

dat1
A data frame containing the first spectrum library
dat2
A data frame containing the second spectrum library
label1
a character string representing the x axis label for plotting
label2
a character string representing the y axis label for plotting
nomod
a logic value, representing if the modified peptides and its fragment ions will be removed. FALSE (default) means not removing.

Value

retentiont time correlation coefficient

Examples

Run this code
libfiles <- paste(system.file("files",package="SwathXtend"),
   c("Lib2.txt","Lib3.txt"),sep="/")
datBaseLib <- readLibFile(libfiles[1])
datExtLib <- readLibFile(libfiles[2])
plotRTCor(datBaseLib, datExtLib, "Lib2", "Lib5")

Run the code above in your browser using DataLab