theislab / theislab/moscot

symbol column key argument when using gene sets

Open
#608 1 comment 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.