powered by
spectra_format_converter will generate a matrix with mz and int columns out of a text representation of a spectrum.
spectra_format_converter
spectra_format_converter(txt = NULL, m_prec = 3, i_prec = 0)
Matrix with mz and int columns.
Sample table.
Mass precision of output spectrum.
Intensity precision of output spectrum.
See examples.
spectra_format_converter(txt = "57.1:100 58.0001:10") spectra_format_converter(txt = "58.0001:10 57.1:100", m_prec = 4)
Run the code above in your browser using DataLab