Fork me on GitHub

biom-format.org

biom.table.Table._get_sparse_data

Contents

biom.table.Table._get_sparse_data

Table._get_sparse_data(axis='sample')

Returns the internal data in the correct sparse representation

Parameters:

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

Axis to search for id. Defaults to ‘sample’

Returns:

sparse matrix

The data in csc (axis=’sample’) or csr (axis=’observation’) representation

Contents