scverse / scverse/scirpy

Restructure repertoire overlap functions

Open
#156 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

breaking-change
Dominant language
Python
Stars
265
Forks
50
Avg merge
9d 9h
Merged PRs (30d)
4

Description

I suggest to restructure the repertoire overlap functions a little:

  • split up heatmap and pairwise plot into two plotting functions

    • e.g. repertoire_overlap_heatmap and repertoire_overlap_pairwise. Like that it's clearer what they do and they can be show in the API with two separate images
  • make it more transparent what the tool stores. Maybe store the parameters in uns to automatically recompute when they changed.

Other improvements:

  • label which color bar in the heatmap shows which variable

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 repertoire overlap plotting functions and inspecting what the tool stores in uns. Separate heatmap and pairwise plotting, make the stored parameters transparent or recomputable, and label each heatmap color bar; verify the resulting API presentation and plots.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Refactor
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.