View source: R/Spectra_visulization.R
plotMSfeature | R Documentation |
plotMSfeature is used to plot the feature intensity of different groups
plotMSfeature(mSet = NULL, FeatureNM = 1, dpi = 72, format = "png", width = NA)
mSet |
mSet Object, should be processed aby 'PerformPeakProfiling'. |
FeatureNM |
Numeric, feature number in the feature table. |
dpi |
Numeric, to define the dpi of the figures. Default is 72. (only works for web version) |
format |
Character, to give the format of BPI figures ploted. Can be "jpeg", "png", "pdf", "svg", "tiff" or "ps". Default is "png". (only works for web version) |
width |
Numeric, width of the figure (default is NA, usually set it as 6~12) |
will return a figure of ms stats
data(mSet);
newPath <- dir(system.file("mzData", package = "mtbls2"),
full.names = TRUE, recursive = TRUE)[c(10, 11, 12)]
mSet <- updateRawSpectraPath(mSet, newPath);
plotMSfeature (mSet, 1); # Here is only one group
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.