Description Usage Arguments Value Author(s) See Also
Get MS2 match plots from a metIdentifyClass object.
1 2 3 4 5 6 7 8 | ms2plot(object, database, which.peak = "all", ppm.tol = 30,
mz.ppm.thr = 400, path = ".", width = 20, height = 8,
interaction.plot = FALSE, range.mz, range.int = c(-1, 1),
xlab = "Mass to charge ratio (m/z)", ylab = "Relative intensity",
col.lib = "red", col.exp = "black", title.size = 15,
lab.size = 12, axis.text.size = 12, legend.title.size = 12,
legend.text.size = 10, figure.type = c("png", "pdf"), threads = 3,
one.folder = TRUE)
|
object |
A metIdentifyClass object. |
database |
Used database (databaseClass). |
which.peak |
Peak name(s) or "all". You can use whichHasIden |
ppm.tol |
MS2 fragment match ppm. |
mz.ppm.thr |
The threshold for m/z error calculation. |
path |
Work directory. |
width |
The width of MS2 spectra match figure (inch). |
height |
The height of MS2 spectra match figure (inch). |
interaction.plot |
Output interactive plot or not. |
range.mz |
m/z range for MS2 spectra match plot. |
range.int |
Relative intensity range. |
xlab |
Title of x axis. |
ylab |
Title of y axis. |
col.lib |
Colour of database MS2 spectrum. |
col.exp |
Colour of experimental MS2 spectrum. |
title.size |
Font size of title. |
lab.size |
Font size of title of axis. |
axis.text.size |
Font size of axis text. |
legend.title.size |
Legend title size. |
legend.text.size |
Legend text size. |
figure.type |
"pdf" or "png". |
threads |
The number of threads |
one.folder |
Output all figure in one folder or not. |
A or all ms2 match plot(s).
Xiaotao Shen shenxt1990@163.com
The example and demo data of this function can be found https://jaspershen.github.io/metIdentify/articles/metIdentify.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.