readcsvSpec.Rd
Imports a single spectrum in .csv format and turns it into a binary data frame containing a "mass" and "Intensity" column.
readcsvSpec(spec_file, massCol, intenseCol)
spec_file | A character string; the file path to the |
---|---|
massCol | A character string; the name of the mass column in the
spectrum's |
intenseCol | A character string; the name of the intensity column in
the spectrum's |
Returns a binary data frame containing the imported data in a m/z column denoted "mass", and an intensity column denoted "Intensity".
https://github.com/wesleyburr/subMaldi
Kristen Yeh <kristenyeh@trentu.ca> Wesley Burr <wesleyburr@trentu.ca>