pcCoVariance: Choosing and removing dependent PC's

Description Usage Arguments Details Value

View source: R/pcCoVariance.R

Description

pcCoVariance() Determines principle components (PC) that are in linear dependendence to the covariates (C).Also,removes PC's that are in linear dependence with the covariates

Usage

1
pcCoVariance(PC, C, threshold)

Arguments

PC

matrix(n x p): p Principle components for n samples

C

matrix(n x c):c Covariates for n samples

threshold

numeric: the value above which one determines the variables to have high corelation

Details

Determines the principle components (PC) that are not in linear dependendence to the covariates (C).

Value

PC_C matrix(n x (p + c - linear dependent)):Principle Components and Covariates which are not dependent


JohnHadish/DJ.GLM.GWAS documentation built on April 5, 2020, 9:05 p.m.