Repository navigation
feat(archetype): add archetype projection - #4412
Open
SupaNautilus wants to merge 14 commits into
Open
SupaNautilus wants to merge 14 commits into
SupaNautilus wants to merge 14 commits into
Conversation
…ation, and cleanup
Removed unnecessary comment prefix and updated baseline generation info.
Co-authored-by: Corey Weistuch <WeistucC@mskcc.org> Co-authored-by: Charles Kocher <charlesdkocher@gmail.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4412 +/- ##
=======================================
Coverage ? 84.24%
=======================================
Files ? 135
Lines ? 12757
Branches ? 0
=======================================
Hits ? 10747
Misses ? 2010
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Author
|
All core test suites and the benchmark pipeline are passing green! The code is synced with main. Note: The PR validation check (title/labels) and the Read the Docs build are currently failing. I’d appreciate a maintainer’s guidance or assistance with those when reviewing. Ready for review whenever you have a chance! |
This branch has not been deployed
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.
This package provides a system for scoring phenotypic states of single-cell data using archetypal analysis. The input is a single-cell gene expression matrix, which is transformed using a pre-trained weighting matrix and scaling matrix to identify representative phenotypic states based on gene expression. The output is a set of archetype representations and corresponding archetype projections for each cell, stored in the AnnData object.
Biological validation:
We applied this archetypal method to single-cell RNA sequencing data from breast cancer primary tumors and brain metastases, based on the dataset described by Yan, Y., Lin, Y., Kumar, T., et al. Ecotypes of triple-negative breast cancer in response to chemotherapy. Nature 654, 1088–1097 (2026). https://doi.org/10.1038/s41586-026-10469-9. The resulting archetype projections were used to identify differences in transcriptional phenotypes associated with response to chemotherapy. In particular, the proliferation archetype showed significantly greater activity in tumors from patients who achieved pathological complete response (pCR) after chemotherapy than in patients with residual disease (RD; p = 0.0026), supporting the archetypal method's ability to recover biologically meaningful tumor-state differences.
This work was developed with guidance from Corey Weistuch, Charles Kocher, and Saurish Arora at Memorial Sloan Kettering Cancer Center.