View source: R/principal_component_testing.R
visqc_test_pca_scores | R Documentation |
Given a matrix of PCA scores, set of sample attributes to test, goes through and performs an ANOVA of the scores versus the attribute.
visqc_test_pca_scores(pca_scores, sample_info)
pca_scores |
matrix of scores from a PCA decomposition |
sample_info |
data.frame of sample attributes to test |
For each variable being tested, the function first checks the number of unique values in that variable. If the number of unique values is 1, or equal to the number of rows, then the variable is not tested and is excluded from the results.
data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.