Description Usage Arguments Details Author(s) References See Also Examples
Image plots (i.e. 2D heatmaps) of raw GCMS profile data
1 |
object |
a |
run |
index of the run to plot an image for |
rtrange |
vector of length 2 giving start and end of the X-axis (retention time) |
main |
main title (auto-constructed if not specified) |
mzrange |
vector of length 2 giving start and end of the Y-axis (mass-to-charge ratio) |
SCALE |
function called to scale the data (default: |
... |
further arguments passed to the |
For peakDataset
objects, each TIC is scale to the maximum value (as specified by the how.near
and max.near
values). The many parameters gives considerable flexibility of how the TICs can be visualized.
For peakAlignment
objects, the similarity matrix is plotted and optionally, the set of matching peaks. clusterAlignment
objects are just a collection of all pairwise peakAlignment
objects.
Mark Robinson
Mark D Robinson (2008). Methods for the analysis of gas chromatography - mass spectrometry data PhD dissertation University of Melbourne.
1 2 3 4 5 6 7 8 9 10 11 12 | 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],mz=seq(50,550),rtrange=c(7.5,8.5))
# image plot
plotImage(pd,run=1,rtrange=c(7.5,8.5),main="")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.