View source: R/spectra_format_converter.R
spectra_format_converter | R Documentation |
spectra_format_converter
will generate a matrix with mz and int
columns out of a text representation of a spectrum.
spectra_format_converter(txt = NULL, m_prec = 3, i_prec = 0)
txt |
Sample table. |
m_prec |
Mass precision of output spectrum. |
i_prec |
Intensity precision of output spectrum. |
See examples.
Matrix with mz and int columns.
spectra_format_converter(txt = "57.1:100 58.0001:10")
spectra_format_converter(txt = "58.0001:10 57.1:100", m_prec = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.