sorting (calour.sorting)

Functions

sort_by_data(exp[, axis, subset, key, …]) Sort features based on their mean frequency.
sort_by_metadata(exp, field[, axis, inplace]) Sort samples or features based on metadata values in the field.
sort_samples(exp, field, **kwargs) Sort samples by field A convenience function for sort_by_metadata
sort_abundance(exp[, subgroup]) Sort features based on their abundance in a subset of the samples.
sort_ids(exp, ids[, axis, inplace]) Sort the features or samples by the given ids.
cluster_data(exp[, transform, axis, metric, …]) Cluster the samples/features.
cluster_features(exp[, min_abundance, inplace]) Cluster features.
sort_centroid(exp[, transform, inplace]) Sort the features based on the center of mass