Why scaleDims=TRUE do z-score normalization for each cell instead of each feature #1935
Unanswered
RoseYuan
asked this question in
Questions / Documentation
Replies: 1 comment
-
I just raised this concern as well at #2120 before I saw this thread. I agree this probably needs to be addressed. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hi all,
I'm looking at the function
addIterativeLSI()
and trying to understand whatscaleDims = TRUE
does to the feature matrix. If I understand it correctly, it calculates the z-score normalization for each row (i.e. each cell), according to the code here. I don't understand why one would do this. Let's say we have a matrixx
of 3 cells x 3 features:x <- t(matrix(c(1,2,3,1,3,3,10,11,12),nrow=3))
wouldn't it be obvious that cell 1 and cell 2 are more likely to be from the same cluster than cell 1 and cell 3? But after applying the.rowZscores
function, the matrix becomes like this,suggesting that cell 1 and cell 3 are from the same cluster... So I'm confused why this normalization could be good.
Beta Was this translation helpful? Give feedback.
All reactions