Description Usage Arguments Value References
Given target and background dataframes or matrices, cPCA
will perform contrastive principal component analysis (cPCA) of the target
data for a given number of eigenvectors and a vector of real valued
contrast parameters. This is identical to the implementation of cPCA
method of \insertCiteabid2018exploring;textualscPCA.
1 2 3 4 5 6 7 8 9 10 11 |
target |
The target (experimental) data set, in a standard format such
as a |
center |
A |
scale |
A |
c_contrasts |
A |
contrasts |
A |
n_eigen |
A |
n_medoids |
A |
eigdecomp_tol |
A |
eigdecomp_iter |
A |
A list of lists containing the cPCA results for each contrastive parameter deemed to be a medoid.
rotation - the list of matrices of variable loadings
x - the list of rotated data, centred and scaled if requested, multiplied by the rotation matrix
contrast - the list of contrastive parameters
penalty - set to zero, since loadings are not penalized in cPCA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.