scverse / scverse/scanpy

Documentation for rank_genes_groups

Open
#446 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hi,

Thanks for the great tools included in scanpy.

I was searching to see what the logfoldchange numbers in the rank_genes_groups are. i.e. is it natural log/log base 10 or log2? The code in https://github.com/theislab/scanpy/blob/master/scanpy/tools/_rank_genes_groups.py shows that it is log2foldchange.

Perhaps this should be made clear in the documentation? Or logfoldchange should be chnaged to log2foldchange.

Cheers,
S

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 scanpy/tools/_rank_genes_groups.py and the documentation for rank_genes_groups to confirm how logfoldchange is calculated and presented. Update the documentation to state the logarithm base, or clarify the naming if appropriate; done means users can determine the scale unambiguously.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.