-
Notifications
You must be signed in to change notification settings - Fork 1
Description
The tutorial states:
Note that in the above we've assumed that the index column of the genes metadata in the anndata object ie query.var consists of gene names. However that is not always the case. In these cases, you need to inspect query.var and select the correct column name where the gene names are stored, and specify this column name when you instantiate the AzimuthNN object. Quite often, gene names are stored in a column called "gene_symbol" or in a column called "feature_name".
panhumanpy does not fail when non-gene names are provided (e.g., ensembl IDs) but instead generates non-sensical annotations.
panhumanpy should fail if gene names are not provided. For example, if <N% of provide gene names overlap with all names in the model, panhumanpy throws an error.