RunIntLim | R Documentation |
Run linear models and retrieve relevant statistics
RunIntLim(inputData, stype = NULL, outcome = "metabolite", covar = NULL, class.covar = NULL)
inputData |
MultiDataSet object (output of ReadData()) with gene expression, metabolite abundances, and associated meta-data |
stype |
column name that represents sample type (by default, it will be used in the interaction term). Only 2 categories are currently supported. |
outcome |
'metabolite' or 'gene' must be set as outcome/independent variable (default is 'metabolite') |
covar |
Additional variables from the phenotypic data that be integrated into linear model |
class.covar |
Describing whether additional variables are 'numeric' or 'categorial' |
IntLimModel object with model results
dir <- system.file("extdata", package="IntLIM", mustWork=TRUE) csvfile <- file.path(dir, "NCItestinput.csv") mydata <- ReadData(csvfile,metabid='id',geneid='id') ## Not run: myres <- RunIntLim(mydata,stype="PBO_vs_Leukemia") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.