fastresid: Residulize the effect of y away from x

Description Usage Arguments Value Author(s) References

View source: R/fastresid.R

Description

This function is to prepare for the next Q calculation. Basically, Q does not like phenotype y to add complication. Therefore we use this function to get rid of the impact of y.

Usage

1
fastresid(X, y)

Arguments

X

The data matrix, each column is for each sample and each row is for different feature.

y

Experimental condition/phenotypes, it can be discrete or continuous

Value

Xresid

The new x after residulizing y

Author(s)

Yi-Hui Zhou

References

Set-based differential covariance testing for genomics


CorDiff documentation built on May 2, 2019, 7:30 a.m.