visqc_test_pca_loadings: test loadings

View source: R/principal_component_testing.R

visqc_test_pca_loadingsR Documentation

test loadings

Description

Given a matrix of loadings for principal components, and a set of components to test, for each loading in each component, generates a null distribution from the other loadings in all the other components, and reports a p-value for that loading.

Usage

visqc_test_pca_loadings(
  loadings,
  test_columns,
  progress = FALSE,
  direction = FALSE
)

Arguments

loadings

matrix of loadings from pca decomposition

test_columns

names of the columns of the loadings to test

progress

should progress be reported

direction

should direction of loading be tested?

Value

named list


MoseleyBioinformaticsLab/visualizationQualityControl documentation built on Feb. 21, 2024, 1:06 a.m.