scverse / scverse/scanpy

Use graph coloring algorithm for a “world map” avoiding to color neighboring clusters in the same color

Open
#1,366 17 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

I was trying to plot a tsne to visualize all my clusters.
But since I have 100+ clusters the pl.umap function gave me all grey.

Is there a way to assign colors to them?

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 reading the pl.umap plotting entry point and how cluster colors are currently assigned. Done should provide distinguishable colors for more than 100 clusters, with neighboring clusters in the plotted world map avoiding the same color.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.