Import text files
This function imports different text file formats
into MassSpectrum-class
or
MassPeaks-class
objects.
importTxt(path, ...) importTab(path, ...) importCsv(path, ...)
path |
|
... |
arguments to be passed to |
importTab
, importTxt
and importCsv
use
read.table
with different defaults.
a list
of MassSpectrum-class
or
MassPeaks-class
objects (depending on the
centroided
argument).
Sebastian Gibb
library("MALDIquant") library("MALDIquantForeign") ## get example directory exampleDirectory <- system.file("exampledata", package="MALDIquantForeign") ## import txt files s <- importTxt(exampleDirectory) ## import csv files s <- importCsv(exampleDirectory)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.