Closed gabrielodom closed 6 years ago
Move discussion to Issue #38.
CreateOmics()
now has the argument center_scale = c(TRUE, TRUE)
.
The center_scale
parameter does not pass through to the internal svd call.
For AESPCA, this was relatively easy. For SuperPCA, I still need to check that lines 149-154 of superPC_model_tStats.R
does not negate the center and scale control at object creation. The loadings and PCs are calculated outside of the for()
loop, so I believe that the internal center/scale to find which threshold is best will not influence how the loadings and PCs for that threshold are calculated.
"The threshold is not negatively affected by the scale of the data" - our meeting.
FYI: the SuperPCA_pVals()
output has identical PCs, but different loading vectors, between scaled and unscaled data.
See Issue #36.