lamindb.core.datasets.anndata_human_immune_cells

lamindb.core.datasets.anndata_human_immune_cells(populate_registries=False)

Cross-tissue immune cell analysis reveals tissue-specific features in humans.

From: https://cellxgene.cziscience.com/collections/62ef75e4-cbea-454e-a0ce-998ec40223d3 # noqa Collection: Global

To reproduce the subsample:

adata = sc.read('Global.h5ad')
adata.obs = adata.obs[['donor_id', 'tissue', 'cell_type', 'assay', 'tissue_ontology_term_id', 'cell_type_ontology_term_id', 'assay_ontology_term_id']].copy()
sc.pp.subsample(adata, fraction=0.005)
del adata.uns["development_cache_ontology_term_id_colors"]
del adata.uns["sex_ontology_term_id_colors"]
adata.write('human_immune.h5ad')
Return type:

AnnData