Data access#

sample

Get the row of X[cell_type] corresponding to a single sample, based on the sample's name in obs_names.

gene

Get the column of X[cell_type] corresponding to a single gene, based on the gene's name in var_names.

peek_obs

Print a row of obs (the first row, by default) for a cell type (the first cell type, by default) with each column on its own line.

peek_var

Print a row of var (the first row, by default) for a cell type (the first cell type, by default) with each column on its own line.