Add deconvolution notebook text, part 1#1012
Merged
Merged
Conversation
allyhawkins
reviewed
Jun 5, 2026
allyhawkins
left a comment
Member
There was a problem hiding this comment.
This looks mostly good to me. I just had a few questions of where things could be clarified and then some rewording and small organizational items to address.
| Next, we'll prepare the data for deconvolution by running the function `spacexr::createRctd()`. | ||
| This function sets various values and parameters that will be used for the deconvolution procedure, including: | ||
|
|
||
| * Identifying genes to use to correct for platform effects |
Member
There was a problem hiding this comment.
How are these identified? Is this from the reference or a combination of the reference and the SPE. I might add some more context here.
Member
Author
There was a problem hiding this comment.
I added some more info to this but tried to not get too into the weeds, aka no big math. Let me know if you think it needs more expansion.
Co-authored-by: Ally Hawkins <54039191+allyhawkins@users.noreply.github.com>
…ore about platform effects
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.
Towards #1006
This PR fleshes out text in the deconvolution notebook through doublet mode, stopping right when we run full mode.
I expect one more PR to wrap this up.
Let me know if we should add/remove/rearrange any details here.
I also did a bit of rearranging while I was here for flow - originally in the import section, we imported the SPE first and plotted marker gene expression for a set of cell types that are in the reference. I thought it would flow better to read in the reference first which help to contextualize why we're plotting those cell type marker genes on the SPE. So, I just swapped the import order, but no changes to code.