Fork me on GitHub

biom-format.org

biom.table.Table._index

Contents

biom.table.Table._index

Table._index(axis='sample')

Return the index lookups of the given axis

Parameters:

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

Axis to get the index dict. Defaults to ‘sample’

Returns:

dict

lookups {id:index}

Raises:

UnknownAxisError

If provided an unrecognized axis.

Contents