metadata: Access the metadata from an 'mzR' object.

Description Usage Arguments Author(s) See Also Examples

Description

Accessors to the analytical setup metadata of a run. runInfo will show a summary of the experiment as a named list, including scanCount, lowMZ, highMZ, startMZ, endMZ, dStartTime and dEndTime. The instrumentInfo method returns a named list including instrument manufacturer, model, ionisation technique, analyzer and detector. These individual pieces of information can also be directly accessed by the specific methods.

Usage

1
2
3
4
5
6
7
runInfo(object)
analyzer(object)
detector(object)
instrumentInfo(object)
ionisation(object)
manufacturer(object)
model(object)

Arguments

object

An instantiated mzR object.

Author(s)

Steffen Neumann and Laurent Gatto

See Also

See for example peaks to access the data for the spectra in a "mzR" class.

Examples

1
2
3
4
5
6
7
8
 library(msdata)
 filepath <- system.file("microtofq", package = "msdata")
 file <- list.files(filepath, pattern="MM14.mzML",
                    full.names=TRUE, recursive = TRUE)
  mz <- openMSfile(file)
  fileName(mz)
  runInfo(mz)
  close(mz)

sneumann/mzR-playground documentation built on May 30, 2019, 6 a.m.