rnalysis.filtering.FoldChangeFilter.split_by_percentile
- FoldChangeFilter.split_by_percentile(percentile: Fraction) tuple
Splits the features in the table into two non-overlapping tables: one containing features below the specified percentile, and the other containing features about the specified percentile.
- Parameters
percentile (float between 0 and 1) – The percentile that all features above it will be filtered out.
- Return type
Tuple[filtering.Filter, filtering.Filter]
- Returns
a tuple of two Filter objects: the first contains all the features below the specified percentile, and the second contains all the features above and equal to the specified percentile.