Add Mixscale continuous scoring; restructure into a perturbation-efficacy tutorial#64
Open
Zethson wants to merge 1 commit into
Open
Add Mixscale continuous scoring; restructure into a perturbation-efficacy tutorial#64Zethson wants to merge 1 commit into
Zethson wants to merge 1 commit into
Conversation
Generalize the title and intro, group the binary classification (Mixscape) and the new continuous scoring (Mixscale) under two sections, and rename the notebook to perturbation_efficacy.ipynb. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Zethson
added a commit
to stefanm808/pertpy
that referenced
this pull request
Jun 9, 2026
Adds pt.tl.Mixscale for continuous per-cell perturbation scoring (Jiang et al., Nature Cell Biology 2025), matching the satijalab/Mixscale R implementation to floating-point precision. Mixscape is refactored into a _perturbation_screen package: a shared PerturbationScreenAnalyzer base (perturbation_signature + DE marker detection) with Mixscape (binary) and Mixscale (continuous) as siblings. pt.tl.Mixscape is unchanged. Renames the tutorial to perturbation_efficacy and bumps the pertpy-tutorials submodule to the matching commit (scverse/pertpy-tutorials#64). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generalizes the mixscape tutorial to cover both perturbation-efficacy methods and adds a Mixscale section.
pt.tl.Mixscale().mixscale(...)and shows that the continuous score separates KO from NP cells within a target gene.mixscape.ipynb->perturbation_efficacy.ipynb(executed end-to-end).Pairs with the pertpy PR adding
pt.tl.Mixscale(scverse/pertpy#945); that PR bumps this submodule to the merged commit.🤖 Generated with Claude Code