> [Bug] `rank_genes_groups` after `normalize_pearson_residuals`
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 779
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 27
Description
Hi, @jlause
There's a issue when using normalize_pearson_residuals, it seems that we can't calculated the log2foldchange in rank_genes_groups will be failed. That's because np.expm1 can't restore the adata.X after normalize_pearson_residuals. Could you solve this issue that completed the downstream currently?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with normalize_pearson_residuals followed by rank_genes_groups, then read both entry points to trace how log2foldchange is calculated. Done means this downstream sequence completes successfully and produces log2foldchange values after Pearson residual normalization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- bioinformatics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100