calour.sorting.
sort_ids
(exp: calour.experiment.Experiment, ids, axis=1, inplace=False)[source]¶Sort the features or samples by the given ids.
If ids are not cover the all the features (samples), the rest will be unsorted and appended.
Note
This function is also available as a class method Experiment.sort_ids()
Parameters: |
|
---|---|
Returns: | with features/samples first according to the ids list and then the rest |
Return type: |