read_ascii.Rd
A function to convert raw ASCII files obtained from the Bruker SolariX XR (eXtreme Resolution) FT-ICR Mass Spectrometer.
read_ascii(filename)
filename | character; The filepath to the local |
---|
Returns an object of class data.frame
with two numeric columns: "mass"
and "intensity"
https://github.com/wesleyburr/subMaldi
Sophie Castel <sophie.castel@ontariotechu.net>
## Converting sample ASCII file 'raw_ascii.ascii' to 'data.frame' file_loc <- system.file("extdata", "raw_test_file.ascii", package = "subMALDI") converted <- read_ascii(filename = file_loc)