visqc_test_pca_scores: test scores and outcome

View source: R/principal_component_testing.R

visqc_test_pca_scoresR Documentation

test scores and outcome

Description

Given a matrix of PCA scores, set of sample attributes to test, goes through and performs an ANOVA of the scores versus the attribute.

Usage

visqc_test_pca_scores(pca_scores, sample_info)

Arguments

pca_scores

matrix of scores from a PCA decomposition

sample_info

data.frame of sample attributes to test

Details

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.

Value

data.frame


MoseleyBioinformaticsLab/visualizationQualityControl documentation built on June 9, 2025, 8:36 a.m.