scverse / scverse/scanpy

pl.umap/tsne/draw_graph colored by principal component or diffusion component

Open
#613 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area - Plotting 🌺
Dominant language
Python
Stars
2.6k
Forks
779
Avg merge
1d 4h
Merged PRs (30d)
27

Description

Dear scanpy developers,

I would like to color my tsnes, umaps and graph layouts by specific principal components or diffusion components. Any chance you could add an option to use columns from obsm objects as colors for these plots? (Or maybe that's already possible and I missed it...?)
Thanks for your help.

Best,
Lisa

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.

Research direction

Start by locating the plotting entry points for pl.umap, pl.tsne, and pl.draw_graph, then inspect how colors are currently selected and how obsm columns are represented. Done means these plots can accept specific principal or diffusion component columns from obsm as color values, with the expected plotting behavior verified by the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.