peaksDataset: Data Structure for raw GCMS data and peak detection results

Description Usage Arguments Details Value Author(s) References Examples

View source: R/peaksDataset.R

Description

Store the raw data and optionally, information regarding signal peaks for a number of GCMS runs

Usage

1
peaksDataset(fns=dir(,"[Cc][Dd][Ff]"),verbose=TRUE,mz=seq(50,550),rtDivide=60,rtrange=NULL)

Arguments

fns

character vector, filenames of raw data in CDF format.

verbose

logical, if TRUE then iteration progress information is output.

mz

vector giving bins of raw data table.

rtDivide

number giving the amount to divide the retention times by.

rtrange

retention time range to limit data to (must be numeric vector of length 2)

Details

peaksDataset is a hold-all data structure of the raw and peak detection data.

Value

peaksDataset object

Author(s)

Mark Robinson

References

Mark D Robinson (2008). Methods for the analysis of gas chromatography - mass spectrometry data PhD dissertation University of Melbourne.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
require(gcspikelite)

# paths and files
gcmsPath<-paste(find.package("gcspikelite"),"data",sep="/")
cdfFiles<-dir(gcmsPath,"CDF",full=TRUE)
eluFiles<-dir(gcmsPath,"ELU",full=TRUE)

# read data
pd<-peaksDataset(cdfFiles[1:2],mz=seq(50,550),rtrange=c(7.5,8.5))
show(pd)

flagme documentation built on Nov. 8, 2020, 5:24 p.m.