OutputResults: Output results into a zipped CSV file. Results include gene...

OutputResultsR Documentation

Output results into a zipped CSV file. Results include gene and metabolite pairs, along with model interaction p-values, and correlations in each group being evaluated.

Description

Output results into a zipped CSV file. Results include gene and metabolite pairs, along with model interaction p-values, and correlations in each group being evaluated.

Usage

OutputResults(inputResults = NULL, filename = "~/results.csv")

Arguments

inputResults

IntLimResults object with model results (output of ProcessResults())

filename

name of file to be output (default: '~/results.csv')

Value

the filename of the CSV file with results named with cohort

Examples

dir <- system.file("extdata", package="IntLIM", mustWork=TRUE)
csvfile <- file.path(dir, "NCItestinput.csv")
inputData <- ReadData(csvfile,metabid='id',geneid='id')
myres <- RunIntLim(inputData,stype="PBO_vs_Leukemia")
myres <- ProcessResults(myres,inputData)
OutputResults(inputResults=myres,filename="~/results.csv")

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