calour.experiment.Experiment.filter_abundance

Experiment.filter_abundance(cutoff=10, **kwargs)[source]

Filter features with sum abundance across all samples less than the cutoff.

For example, to keep features with mean abundance of 150 use filter_abundance(cutoff=150).

Parameters:cutoff (float, optional) – The minimal total abundance across all samples. Default is 10 - keep features with total abundance >= 10.
Keyword Arguments:
 negate (bool) – negate the predicate for selection
Returns:
Return type:Experiment

See also

filter_by_data()