Tools: tl

Tools: tl#

AnnData Accessor: an#

In order to use the AnnData an accessor, you need to import annsel.

Something like the following:

import annsel

or

import annsel as an

This will register the an accessor to the AnnData object.

AnnselAccessor.filter(self[, obs, var, x, ...])

Filter the AnnData object by the given predicates.

AnnselAccessor.select(self[, obs, var, x, copy])

Select the AnnData object by the given predicates.

AnnselAccessor.group_by(self[, obs, var, copy])

Group the AnnData object by the given predicates.

AnnselAccessor.pipe(self, func, *args, **kwargs)

Apply chainable functions func(self, *args, **kwargs) that expect AnnData.

GroupByAnndata(obs_values, var_values, adata)

Container for grouped AnnData objects and their metadata.