Learn R Programming

SwathXtend (version 1.0.0)

plotRTResd: Plot residuals for retention time prediction of two libraries

Description

Plot residuals for retention time prediction of two libraries

Usage

plotRTResd(dat1, dat2, nomod = FALSE)

Arguments

dat1
A data frame containing the first spectrum library
dat2
A data frame containing the second spectrum library
nomod
a logic value, representing if the modified peptides and its fragment ions will be removed. FALSE (default) means not removing.

Value

root mean square error of prediction residuals

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])
plotRTResd(datBaseLib, datExtLib)

Run the code above in your browser using DataLab