getResidual: function to get residuals with respect to a set of covariates

View source: R/utils.R

getResidualR Documentation

function to get residuals with respect to a set of covariates

Description

function to get residuals with respect to a set of covariates

Usage

getResidual(covariates, adjustCovars, pathSumStats)

Arguments

covariates

a covariate dataframe.

adjustCovars

covariates to adjust for

pathSumStats

an expression matrix

Value

a matrix of adjusted expression


pouryany/PanomiR documentation built on Aug. 20, 2022, 11:17 p.m.