Skip to content

Add SKC documentation page - #509

Merged
allyhawkins merged 7 commits into
developmentfrom
allyhawkins/skc-documentation
Jun 24, 2026
Merged

Add SKC documentation page#509
allyhawkins merged 7 commits into
developmentfrom
allyhawkins/skc-documentation

Conversation

@allyhawkins

Copy link
Copy Markdown
Member

Closes #506

This PR adds a new page that is just for the samples that are part of the SKC (SCPCP000027). The page itself is hidden so that it's not in the table of contents or navigation bar, but it is still searchable. This means users can still search for the SKC and pull up the page, which I think is okay. The link to this page will be included on the project page under the "Additional processing" section and in the readme for this specific project.

As for the contents of the page, I included a section on the custom cell types and then a section on the metaprograms. I didn't go into too much detail behind the methods since a lot of that will be found in the ews-nf documentation, but enough to at least tell users where the information is coming from. I mostly focused on making sure they knew where in the object information was stored.

We also have an open PR with some discussion around the exact name of these columns, but I think we have landed on submitter_data_ for the prefix (see AlexsLemonade/scpca-nf#1307 (comment)). I'm going to give instructions to Tony for transfer to ensure that the columns that he sends us have <metaprogram name>_score where the name is the biological name that they are working on assigning. Let me know if you disagree with this plan? I included a TODO just in case the name format changes.

Also, I included links to ews-nf that are currently private but will be public before this goes on the Portal.

@allyhawkins
allyhawkins requested a review from sjspielman June 24, 2026 18:00

@sjspielman sjspielman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine to me and all decisions make sense. Left a few small comments but nothing major so I don't feel that I need to see this again. Also a couple thoughts thrown in there for good measure.

Comment thread docs/sean_karl_cohort.md
@@ -0,0 +1,30 @@
# The Sean Karl cohort

This page contains information about additional processing specific to the Sean Karl cohort, which corresponds to samples available as part of `SCPCP000026`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

confirming this is correct; your PR comment said 27, but it's indeed 26 :)

Comment thread docs/sean_karl_cohort.md
To generate these custom cell type annotations, tumor cells were identified using `ews-nf` with the default annotation workflow (`--workflow annotation`).
Please see the [`ews-nf` documentation](https://github.com/AlexsLemonade/ews-nf/blob/main/README.md) for more information on how tumor cells were classified.

All immune cells (identified by their {ref}`consensus cell type annotations <processing_information:Cell type annotation>`) were then further refined by the submitters.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eventually we might have a citation here I suppose

Comment thread docs/sean_karl_cohort.md

## Metaprograms

Recurrent gene expression programs, or metaprograms, were identified across all tumor cells and all samples within the Sean Karl cohort using the metaprogram workflow within `ews-nf` (`--workflow nmf_metaprograms`).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General question - is this going to stay in ews-nf? Or will it eventually be fully removed and only available standalone? Assuming the former?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General question - is this going to stay in ews-nf? Or will it eventually be fully removed and only available standalone? Assuming the former?

This is going to stay in ews-nf as is.

Comment thread docs/sean_karl_cohort.md Outdated
Comment thread docs/sean_karl_cohort.md

Recurrent gene expression programs, or metaprograms, were identified across all tumor cells and all samples within the Sean Karl cohort using the metaprogram workflow within `ews-nf` (`--workflow nmf_metaprograms`).
Briefly, `cNMF` ([Kotlier _et al._ (2019)](https://doi.org/10.7554/eLife.43803)) was used to run non-negative matrix factorization (NMF) on each sample across a range of ranks.
The resulting NMF programs across all samples were then clustered into metaprograms based on their Pearson correlation coefficient.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No mention spectra?

Just kidding, do not mention spectra.

Comment thread docs/sean_karl_cohort.md Outdated
Comment thread docs/sean_karl_cohort.md
<!--TODO: Update the naming scheme here with anything decided in https://github.com/AlexsLemonade/scpca-nf/pull/1307-->
Column names are formatted with: `submitter_data_<metaprogram name>_score`, where the `metaprogram name` is the designated name provided by the submitters.

For more detailed information on how metaprograms were generated, see the [`ews-nf` documentation](https://github.com/AlexsLemonade/ews-nf/blob/main/README.md)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something to consider to circle back to - do we want to include a tagged version of this repo in these docs? Not sure.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm... I want to say yes, but if we ever make changes to that workflow and regenerate results to add to the Portal then we would have to remember to update the link here which seems hard to maintain.

allyhawkins and others added 2 commits June 24, 2026 14:47
Co-authored-by: Stephanie J. Spielman <stephanie.spielman@gmail.com>
@allyhawkins

Copy link
Copy Markdown
Member Author

Just noting that I updated this in 939377d to add a sentence with a link to the main SCE contents page to provide context that the included information is in addition to all standard contents.

@allyhawkins
allyhawkins merged commit 65f5d5e into development Jun 24, 2026
5 checks passed
@allyhawkins
allyhawkins deleted the allyhawkins/skc-documentation branch June 24, 2026 19:57
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.

2 participants