scverse / scverse/scirpy

In ir.pl.repertoire_overlap() function the `fraction` param is not working

Open
#424 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When using the ir.pl.repertoire_overlap( ) function I get the same result with or without fraction=True.

The output is the clonotype size (nr of cells) in each sample, whereas what I would like to plot is the relative abundance of the clone in the sample. I would also like to plot the log10 scale (so that smaller frequencies are more visible). How can I do that?

An example of the current plot I am getting:
download

Thanks a lot for your support.

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 with the ir.pl.repertoire_overlap() entry point and reproduce the reported plot with fraction omitted and set to True. Check whether the plotted values change to relative clone abundance and whether the requested log10 display is supported; done means the function clearly produces the intended relative-abundance visualization.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.