Learn R Programming

xcms (version 1.48.0)

split.xcmsRaw: Divide an xcmsRaw object

Description

Divides the scans from a xcmsRaw object into a list of multiple objects. MS$^n$ data is discarded.

Usage

Arguments

x
xcmsRaw object
f
factor such that factor(f) defines the scans which go into the new xcmsRaw objects
drop
logical indicating if levels that do not occur should be dropped (if 'f' is a 'factor' or a list).
...
further potential arguments passed to methods.

Value

A list of xcmsRaw objects.

Methods

xr = "xcmsRaw"
split(x, f, drop = TRUE, ...)

See Also

xcmsRaw-class