hucira.create_celltype_combos#
- hucira.create_celltype_combos(adata_celltypes=None, hcd_celltypes=None)#
Reformat cell-type names for
run_one_enrichment_test().Creates a
celltype_comboslist of tuples that matches cell types of the query adata to the closest available cell types from the human cytokine dictionary. The lists and their order have to be manually prepared to fit/match. This is just a helper – the list can be manually curated.- Parameters:
- Return type:
- Returns:
list of tuple A list of matched cell-type pairs, e.g.
[('B cell', 'B'), ('CD4-positive, alpha-beta T cell', 'CD4'), ...].