LinearModelInteractionTest: LinearModelInteractionTest

Description Usage Arguments Value Examples

View source: R/DCARS.R

Description

Fits a linear model with interaction term and tests for significance of the interaction term.

Usage

1
LinearModelInteractionTest(dat, xname, yname, response = NULL)

Arguments

dat

dat is a gene expression matrix (rows genes columns samples)

xname

the name of the first gene

yname

name of the second gene

response

a vector of two class labels, if NULL then split into 50/50. odd number of samples will ignore the middle sample

Value

single value for p-value

Examples

1
2
3
data(STRING)
data(SKCM)
LinearModelInteractionTest(dat = SKCM,xname = "EIF3C",yname = "EIF5B")

shazanfar/DCARS documentation built on Oct. 14, 2020, 11:11 a.m.