RunLM: Function that runs linear models and returns interaction...

View source: R/internalfunctions.R

RunLMR Documentation

Function that runs linear models and returns interaction p-values.

Description

Function that runs linear models and returns interaction p-values.

Usage

RunLM(incommon, outcome = "metabolite", type = NULL, covar = NULL)

Arguments

incommon

MultiDataSet object (output of ReadData()) with gene

outcome

'metabolite' or 'gene' must be set as outcome/independent variable (default is 'metabolite')

type

vector of sample type (by default, it will be used in the interaction term). Only 2 categories are currently supported.

covar

vector of additional vectors to consider


Mathelab/IntLIM documentation built on July 9, 2022, 5:10 p.m.