scverse / scverse/scanpy

rank_genes_groups one- or two-sided test

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

Nobody has claimed this yet.

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

Description

Hi!

Is it possible to do two-sided (or two-tailed) test in rank_genes_groups?

It seems like the tests you can choose from for now (t-test, wilcoxon etc.) are one-sided in that comparing group A to group B produces a list of DE genes that is not the same as in comparison of B to A.

Thank you.

Sincerely,
Anna Arutyunyan

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 at the rank_genes_groups entry point and determine how its supported tests handle group direction and tail selection. Define the expected two-sided behavior, including whether reversing the compared groups should produce the same differential-gene results, then add coverage for that behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.