Skip to content

fail if gene names are not provided #39

@nick-youngblut

Description

@nick-youngblut

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions