Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverse cPCA #16

Open
PietroD opened this issue Oct 27, 2020 · 0 comments
Open

Reverse cPCA #16

PietroD opened this issue Oct 27, 2020 · 0 comments

Comments

@PietroD
Copy link

PietroD commented Oct 27, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant