Fork me on GitHub

biom-format.org

biom.table.Table.data

«  biom.table.Table.copy   ::   Contents   ::   biom.table.Table.delimited_self  »

biom.table.Table.data

Table.data(id, axis)

Returns observations associated with sample id id or samples associated with observation id id

Parameters:

id : str

ID of the samples or observations whose data will be returned.

axis : {‘sample’, ‘observation’}

Axis to search for id.

Raises:

UnknownAxisError

If provided an unrecognized axis.

«  biom.table.Table.copy   ::   Contents   ::   biom.table.Table.delimited_self  »