loadSpectra | R Documentation |
load bruker MALDI target plate spectra
loadSpectra(Dir, filter = NA, nameSpectra = TRUE, verbose = TRUE)
Dir |
Character, parent directory of spectra. |
filter |
Character vector, filter out spectra which match the given vector. |
nameSpectra |
Logical, if TRUE the spectra in the resulting list will be named according to the dirname. |
verbose |
Logical, print logs to the console. |
List of MALDIquant::MassSpectra
dataDir <- system.file("extdata", package="MALDIcellassay")
unzip(file.path(dataDir, "example-raw-spectra.zip"))
loadSpectra("example-raw-spectra/")
unlink("example-raw-spectra/", recursive = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.