SCTransform layer by layer - unexpected results #10230
Unanswered
RobinPranter
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you for an excellent package!
I have a question about SCTransform that has been brewing for a while but I have not been able to find an answer.
I typically investigate if any normalization makes sense by plotting the normalized vs un-normalized and expecting something like this:

This particular plot was generated using this code:
Where green.SO is a seurat object that was normalized using SCTransform.
However, I have come to understand that if I want to do integration (eg harmony) across my different samples it is preferable to do the normalization separately sample by sample rather than to normalize across the entire dataset. For example like this:
When I plot the same kind of plot it look nothing like what I would expect:

How can this be? Has any one else encountered this? Am I perhaps implementing the calls incorrectly, just failing in my attempt to visualize the outcome, or is this potentially a problem? Perhaps I am missing the point somehow?
I would be very grateful for any input from the community or the developers!
Best,
Robin
Beta Was this translation helpful? Give feedback.
All reactions