Fork me on GitHub

biom-format.org

biom.table.Table.get_value_by_ids

«  biom.table.Table.get_table_density   ::   Contents   ::   biom.table.Table.group_metadata  »

biom.table.Table.get_value_by_ids

Table.get_value_by_ids(obs_id, samp_id)

Return value in the matrix corresponding to (obs_id, samp_id)

Parameters:

obs_id : str

The ID of the observation

samp_id : str

The ID of the sample

Returns:

float

The data value corresponding to the specified matrix position

«  biom.table.Table.get_table_density   ::   Contents   ::   biom.table.Table.group_metadata  »