Repository navigation
Update tutorial and shiny contents - #351
Open
samuel-amidon wants to merge 9 commits into
Open
samuel-amidon wants to merge 9 commits into
samuel-amidon wants to merge 9 commits into
Conversation
… selection core script
…ps (#353) * Generate tutorial figures from the full ALAD cohort with the paper's rank sweeps Run docs/generate_tutorial_figures.py on the full cohort with the paper's rank selection settings: RISE BiCV over ranks 1-25 (the paper swept 1-50) with 10 repeats and compressed fits, and the CPD sweep over ranks 1-17 from 10 seeded starts, choosing the CPD rank by the paper's rule (the largest rank below the first LR-collinear rank whose starts all agree). The fit matches the paper: RISE rank 17, CPD rank 6 (R2X 0.532), component 5 associated with six-month outcome (F = 5.73, adjusted p = 0.013). Also fix the tutorial plots at full-cohort scale: row labels of the factor matrices shrink with their number, the outcome box plot angles its labels for more than three groups, and the single-cell loading panels keep one axis size with inset colorbars. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018NQf38dazNA337GQDjoxvq * More clean up and add explorer to docs * Clean up tutorial text * Fix the Test workflow: README formatting and ty errors in the app ruff format now formats Python blocks in Markdown, so README.md's quick start is reformatted. ty check flagged 37 errors in cccrise/app (from the app commits merged in from update-docs): cast the AnnData obs to DataFrame, the optional CPD starts sweep and tight bboxes to their known types, type the threshold line kwargs and per-cell obsm dicts, and pass factor panel row labels as a list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018NQf38dazNA337GQDjoxvq --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
samuel-amidon
marked this pull request as ready for review
December 2, 2026 19:51
Contributor
Author
|
@aarmey or @fishidaho Please feel free to look through either the tutorial or shiny and see if you would prefer additional contents or different formats/styles. Otherwise, these should be good enough to ship. |
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 PR revises the tutorial docs and shiny contents to better reflect the published CCC-RISE pipeline. It also remove the tutorial and shiny's dependency on paper-related results that will live in a separate repository per #335.
All of the new results files created here are copies of manuscript results files. Once the manuscript is moved to a different repository, we could point the app/tutorial at that repository instead of using copies of files.