require(TargetSearchData)
data(TargetSearchData)
# get RI file path
RI.path <- file.path(find.package("TargetSearchData"), "gc-ms-data")
# update RI file path
RIpath(sampleDescription) <- RI.path
my.files <- RIfiles(sampleDescription)
# make a three column matrix: lower RI, mass, upper RI
refLib <- refLib(refLibrary)
head(refLib)
# extract the peaks
peaks <- FindPeaks(my.files, refLib)
Run the code above in your browser using DataLab