Closed skilpinen closed 2 years ago
This is a good idea and should be straightforward to implement, I'd welcome a PR if anyone would like to contribute this
I've now added a gene.id
parameter to GeneActivity()
to enable naming the genes using gene IDs rather than gene names
Thanks, I should have asked for PR and do that as well, but just too many open things at the moment. Anyway, thanks a lot, this is really phenomenal library.
Currently, if I am not mistaken, GeneActivity() uses as forced default gene_name column from the genome annotation of chromatin assay as basis for gene nomenclature. This then causes problems with label transfer from scRNA if scRNA has been processed with Ensembl ids. Could there be option in in GeneActivity which specifies the column used as gene identification. Like in this case: GRanges object with 1763965 ranges and 5 metadata columns: seqnames ranges strand | tx_id gene_name gene_id gene_biotype type