Learn R Programming

xcms (version 1.48.0)

split.xcmsSet: Divide an xcmsSet object

Description

Divides the samples and peaks from a xcmsSet object into a list of multiple objects. Group data is discarded.

Usage

Arguments

xs
xcmsSet object
f
factor such that factor(f) defines the grouping
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 xcmsSet objects.

Methods

xs = "xcmsSet"
split(x, f, drop = TRUE, ...)

See Also

xcmsSet-class