scverse / scverse/scanpy

Add graph coloring algorithm as an alternative for `palette`

Open
#2,313 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

The allen institute has published a nomenclature for brain cell types with 127 types. When I annotate my cells with those types, the umap plot doesn't color the cells:

image

Would it be possible to support coloring this number of clusters?

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 palette implementation used by UMAP plots and reproduce the reported case with 127 annotated cell types. The work is complete when the plot assigns distinguishable colors to all clusters; the issue does not name a file or test, so the relevant implementation and validation path must be identified first.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.