| loadSpectraMzML | R Documentation | 
load mzML spectra
loadSpectraMzML(
  Dir,
  filter = NA,
  nameSpectra = TRUE,
  verbose = TRUE,
  centroided = FALSE
)
| 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 console | 
| centroided | Logical, if FALSE (default) a list of MALDIquant::MassSpectrum is returned, otherwise a list of MALDIquant::MassPeaks are returned. | 
List of MALDIquant::MassSpectra
dataDir <- system.file("extdata", package="MALDIcellassay")
loadSpectraMzML(file.path(dataDir, "Koch2024mzML"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.