sfaira.versions.metadata.CelltypeUniverse

class sfaira.versions.metadata.CelltypeUniverse(cl: Union[sfaira.versions.metadata.base.OntologyCl, sfaira.versions.metadata.base.OntologyList], uberon: sfaira.versions.metadata.base.OntologyUberon, **kwargs)

Cell type universe (list) and ontology (hierarchy) container class.

Basic checks on the organ specific instance are performed in the constructor.

Attributes

onto_cl

onto_uberon

Methods

load_target_universe(fn)

param fn

.csv file containing target universe.

write_target_universe(fn, x)

param fn

.csv file containing target universe.