Skip to content

Update tutorial and shiny contents - #351

Open
samuel-amidon wants to merge 9 commits into
mainfrom
update-docs
Open

samuel-amidon wants to merge 9 commits into
mainfrom
update-docs

Conversation

@samuel-amidon

@samuel-amidon samuel-amidon commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

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.

@samuel-amidon samuel-amidon self-assigned this Dec 1, 2026
@samuel-amidon samuel-amidon linked an issue Dec 1, 2026 that may be closed by this pull request
samuel-amidon and others added 5 commits December 1, 2026 17:51
…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
samuel-amidon marked this pull request as ready for review December 2, 2026 19:51
@samuel-amidon
samuel-amidon requested a review from aarmey December 2, 2026 19:51
@samuel-amidon

Copy link
Copy Markdown
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

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update tutorial and shiny contents

1 participant