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

Include both gene IDs and gene symbols for check of feature correspondence between query and reference #171

Open
LisaSikkema opened this issue Feb 8, 2023 · 0 comments

Comments

@LisaSikkema
Copy link
Contributor

Hi!

It would be really great if you could somehow make the function sca.models.SCANVI.prepare_query_anndata able to take into consideration both gene Ensembl IDs and gene symbols (i.e. actual gene names), in particular for the subsetting and padding that is done there. Do you think that would be doable?
For example, the Human Lung Cell Atlas model was trained on gene IDs, but some datasets might only have gene names available. As I have the mapping of the gene IDs to gene names available for the HLCA model, it should be relatively easy to accommodate for those datasets.

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

1 participant