read_ascii: Read Raw ASCII Files

Description Usage Arguments Value Author(s) References Examples

View source: R/read_ascii.R

Description

A function to convert raw ASCII files obtained from the Bruker SolariX XR (eXtreme Resolution) FT-ICR Mass Spectrometer.

Usage

1
read_ascii(filename)

Arguments

filename

character; The filepath to the local .ascii data that is to be converted.

Value

Returns an object of class data.frame with two numeric columns: "mass" and "intensity"

Author(s)

Sophie Castel <sophie.castel@ontariotechu.net>

References

https://github.com/wesleyburr/subMaldi

Examples

1
2
3
## 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)

wesleyburr/subMaldi documentation built on Oct. 1, 2021, 7:07 a.m.