calour.sorting.
sort_by_data
(exp: calour.experiment.Experiment, axis=0, subset=None, key='log_mean', inplace=False, reverse=False, **kwargs)[source]¶Sort features based on their mean frequency.
Sort the 2-d array by sample (axis=0) or feature (axis=0). key
will be applied to subset
of each feature (axis=0) or sample
(axis=1) and return a comparative value.
Note
This function is also available as a class method Experiment.sort_by_data()
Parameters: |
|
---|---|
Returns: | |
Return type: |