Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/calico/scnym
Browse files Browse the repository at this point in the history
merge from git
  • Loading branch information
hy395 committed Dec 11, 2023
2 parents 1d72d7d + 9ca9f36 commit 8651198
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scnym/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
REFERENCE_JSON = "https://storage.googleapis.com/calico-website-scnym-storage/link_tables/cell_atlas.json"

ATLAS_ANNOT_KEYS = {
"human": "celltype",
"human_gtex": "cell_type",
"human_gtex_immune": "cell_type",
"mouse": "cell_ontology_class",
"rat": "cell_ontology_class",
}
Expand Down Expand Up @@ -822,6 +823,11 @@ def atlas2target(
names for the relevant species to match the atlas.
e.g. `"Gapdh`" for mouse or `"GAPDH"` for human, rather
than Ensembl gene IDs or another gene annotation.
species : str
One of "human_gtex", "human_gtex_immune", "mouse",
or "rat".
key_added: str
Name to use for the column where cell labels are added
Returns
-------
Expand Down

0 comments on commit 8651198

Please sign in to comment.