loadSpectra: load bruker MALDI target plate spectra

View source: R/loadSpectra.R

loadSpectraR 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)

CeMOS-Mannheim/MALDIcellassay documentation built on Jan. 24, 2025, 11:17 p.m.