loadSpectra {MALDIcellassay} | R Documentation |
load bruker MALDI target plate spectra
Description
load bruker MALDI target plate spectra
Usage
loadSpectra(Dir, filter = NA, nameSpectra = TRUE, verbose = TRUE)
Arguments
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. |
Value
List of MALDIquant::MassSpectra
Examples
dataDir <- system.file("extdata", package="MALDIcellassay")
unzip(file.path(dataDir, "example-raw-spectra.zip"))
loadSpectra("example-raw-spectra/")
unlink("example-raw-spectra/", recursive = TRUE)
[Package MALDIcellassay version 0.4.47 Index]