xcmsSource-class {xcms} | R Documentation

## Virtual class for raw data sources

### Description

This virtual class provides an implementation-independent way to load mass spectrometer data from various sources for use in an `xcmsRaw` object. Subclasses can be defined to enable data to be loaded from user-specified sources. The virtual class `xcmsFileSource` is included out of the box which contains a file name as a character string.

When implementing child classes of `xcmsSource`, a corresponding `loadRaw-methods` method must be provided which accepts the `xcmsSource` child class and returns a list in the format described in `loadRaw-methods`.

### Objects from the Class

A virtual Class: No objects may be created from it.

### Author(s)

Daniel Hackney, dan@haxney.org

### See Also

`xcmsSource-methods` for creating `xcmsSource` objects in various ways.

[Package xcms version 3.16.1 Index]