Fork me on GitHub

biom-format.org

biom.table.Table.add_metadata

«  biom.table.Table.add_group_metadata   ::   Contents   ::   biom.table.Table.align_to  »

biom.table.Table.add_metadata

Table.add_metadata(md, axis='sample')

Take a dict of metadata and add it to an axis.

Parameters:

md : dict of dict

md should be of the form {id: {dict_of_metadata}}

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

The axis to operate on

«  biom.table.Table.add_group_metadata   ::   Contents   ::   biom.table.Table.align_to  »