getAssocTestRes.pca | R Documentation |
Test associations of annotations with principal components (PCA)
getAssocTestRes.pca(X, ph, nComp = 10, nPerm = 1000)
X |
A matrix on which the dimension reduction is to be performed. Alternatively, it can be a matrix of PC coordinates computed by |
ph |
annotation table for the datapoints. The columns of this table will be used to test associations with the PCs.
Should be a |
nComp |
number of PCs to be considered |
nPerm |
number of permutation tests to be conducted if an annotation in |
A nested list of tested associations one element for each column in ph
(1st level), each PC (2nd level).
Each element is again a list with the name of the test being used (test
), the test statistic (statistic
) and p-value (pvalue
)
Fabian Mueller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.