contrastive
contrastive copied to clipboard
Reverse cPCA
First of all, this is not an issue. Thanks for developing this algorithm.
The question is, is it possible to reverse cPCA in order to obtain the "corrected" matrix with the "subtracted" background?
In R I would do something like (even if this is not completely correct)
newmat <- t(t(cpca$x %*% t(cpca$rotation))) # if center and scale are set to FALSE
More in general, what to do after cPCA? I would like to be able to explore the corrected matrix. Many thanks