Description Usage Arguments Value
View source: R/filter.pca.function.R
Filter out PCs colinear with other covariates.
1 | filter.pca(PCA, covs, threshold = 0.2)
|
PCA |
The output list from the prcomp() function. |
covs |
A matrix/data.frame of covariates (rows = individuals, columns = covariates) |
threshold |
A numerical value (0-1) indicating the maximum allowed correlation between any one covariate and any one PC |
A matrix of filtered PCs (not correlated with any covariates supplied by user)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.