Skip to contents

Determine which peaks are absent / present in a sample class

Methods

object = "xcmsSet"

absent(object, ...) present(object, ...)

Arguments

object

xcmsSet-class object

class

Name of a sample class from sampclass

minfrac

minimum fraction of samples necessary in the class to be absent/present

Details

Determine which peaks are absent / present in a sample class The functions treat peaks that are only present because of fillPeaks correctly, i.e. does not count them as present.

Value

An logical vector with the same length as nrow(groups(object)).

See also