scarches icon indicating copy to clipboard operation
scarches copied to clipboard

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

Open LisaSikkema opened this issue 2 years ago • 0 comments

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.

LisaSikkema avatar Feb 08 '23 09:02 LisaSikkema