| importTxt | R Documentation |
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
https://strimmerlab.github.io/software/maldiquant/
MassSpectrum-class,
MassPeaks-class,
read.table
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.