xcmsFileSource-class: Base class for loading raw data from a file

Description Objects from the Class Slots Extends Methods Author(s) See Also

Description

Data sources which read data from a file should inherit from this class. The xcms package provides classes to read from netCDF, mzData, mzXML, and mzML files using xcmsFileSource.

This class should be considered virtual and will not work if passed to loadRaw-methods. The reason it is not explicitly virtual is that there does not appear to be a way for a class to be both virtual and have a data part (which lets functions treat objects as if they were character strings).

This class validates that a file exists at the path given.

Objects from the Class

xcmsFileSource objects should not be instantiated directly. Instead, create subclasses and instantiate those.

Slots

.Data:

Object of class "character". File path of a file from which to read raw data as the object's data part

Extends

Class "character", from data part. Class "xcmsSource", directly.

Methods

xcmsSource

signature(object = "character"): Create an xcmsFileSource object referencing the given file name.

Author(s)

Daniel Hackney [email protected]

See Also

xcmsSource


xcms documentation built on May 18, 2019, 2 a.m.