View source: R/ms2_plot_mass_dataset.R
ms2_plot_mass_dataset | R Documentation |
Identify metabolites based on MS1 or MS/MS database.
ms2_plot_mass_dataset( object, variable_id, variable_index, polarity = c("positive", "negative"), ms1.match.ppm = 25, ms2.match.ppm = 30, mz.ppm.thr = 400, database, interactive_plot = FALSE )
object |
A mass_dataset class obejct. |
variable_id |
variable_id |
variable_index |
variable_index |
polarity |
The polarity of data, "positive"or "negative". |
ms1.match.ppm |
Precursor match ppm tolerance. |
ms2.match.ppm |
Fragment ion match ppm tolerance. |
mz.ppm.thr |
Accurate mass tolerance for m/z error calculation. |
database |
MS2 database name or MS database. |
interactive_plot |
interactive_plot |
A list of ggplot2 object.
Xiaotao Shen shenxt1990@outlook.com
The example and demo data of this function can be found https://tidymass.github.io/metid/articles/metid.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.