Fork me on GitHub

biom-format.org

biom.table.Table.sort_order

«  biom.table.Table.sort   ::   Contents   ::   biom.table.Table.subsample  »

biom.table.Table.sort_order

Table.sort_order(order, axis='sample')

Return a new table with axis in order

Parameters:

order : iterable

The desired order for axis

axis : {‘sample’, ‘observation’}, optional

The axis to operate on

Returns:

Table

A table where the observations or samples are sorted according to order

«  biom.table.Table.sort   ::   Contents   ::   biom.table.Table.subsample  »