symbol column key argument when using gene sets
Open
@MUCDK is already working on this.
Since Dec 1, 2023.
low-prio
- Dominant language
- Python
- Stars
- 216
- Forks
- 16
- Avg merge
- 16h 2m
- Merged PRs (30d)
- 3
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.