Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

symbol column key argument when using gene sets #608

Open
ivirshup opened this issue Sep 26, 2023 · 1 comment
Open

symbol column key argument when using gene sets #608

ivirshup opened this issue Sep 26, 2023 · 1 comment
Assignees

Comments

@ivirshup
Copy link
Member

This is a feature request for methods like score_genes_for_marginals.

It's generally bad practice to use gene symbols as the var_names for an AnnData object, since they're not unique and can easily become ambiguous. Unique identifiers, like ensembl IDs, are better as primary keys for genes.

It would be great if methods like score_genes_for_marginals allowed using ensembl ids as the primary keys, and let users specify the which column in var provides gene symbols with a key word argument.

@MUCDK
Copy link
Collaborator

MUCDK commented Oct 4, 2023

Hi @ivirshup,

Thanks for raising this!

Which database would you recommend for gene ids?

@MUCDK MUCDK self-assigned this Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants