plotClustAlignment,clusterAlignment-method | R Documentation |
Plotting functions for GCMS data objects
## S4 method for signature 'clusterAlignment' plotClustAlignment(object, alignment = 1, ...)
object |
|
alignment |
the set of alignments to plot |
... |
further arguments passed to |
For clusterAlignment
objects, the similarity matrix is plotted and
optionally, the set of matching peaks. clusterAlignment
objects are
just a collection of all pairwise peakAlignment
objects.
plot the pairwise alignment
Mark Robinson
Mark D Robinson (2008). Methods for the analysis of gas chromatography - mass spectrometry data PhD dissertation University of Melbourne.
plotAlignment
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, peak detection results pd <- peaksDataset(cdfFiles[1:2], mz=seq(50,550), rtrange=c(7.5,8.5)) pd <- addAMDISPeaks(pd, eluFiles[1:2]) ca <- clusterAlignment(pd, gap=0.5, D=0.05, df=30, metric=1, type=1) plotClustAlignment(ca, run = 1) plotClustAlignment(ca, run = 2) plotClustAlignment(ca, run = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.