Description Usage Arguments Author(s) Examples
View source: R/PlotFunctions.R
plot MS/MS mirror plot.
1 2 3 |
raw.exp.spec |
Matrix or data frame. The experiment MS/MS spectrum. The 1st column is "mz", the 2nd column is "intensity". |
raw.std.spec |
Matrix or data frame. The library MS/MS spectrum. The 1st column is "mz", the 2nd column is "intensity" |
match.result |
output from SpecMatch |
dir.path |
the file path of output |
cmp.name |
Character. The name of compound |
is.output |
Logical. Whether output the plot? |
pg.format |
png or pdf format. |
Zhiwei Zhou zhouzw@sioc.ac.cn
1 2 3 | raw.exp.spec <- data.frame(mz=c(42.0364, 58.0664, 59.0745, 118.0858), intensity=c(0.01, 1, 0.4, 0.25))
raw.std.spec <- data.frame(mz=c(42.0364, 58.0664, 75.4568, 118.0858), intensity=c(0.01, 1, 0.2, 0.25))
msms_plot(raw.exp.spec, raw.std.spec, is.output=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.