readBatmanOutput: Reads in BATMAN Output Data Files

Description Usage Arguments Value See Also Examples

View source: R/readBatmanOutput.R

Description

Reads in output data files from batman in specified folder.

Usage

1
2
readBatmanOutput(dirOP, dirIP,readMetaIndFitSam = TRUE,
                           readMetaTempHR = TRUE, readMetaTemp = TRUE)

Arguments

dirOP

The folder with batman output files.

dirIP

The folder with batman input files.

readMetaIndFitSam

If set TRUE, read in the posterior samples of individual metabolites fit.

readMetaTempHR

If set TRUE, read in the posterior means of fitted metabolite templates (without down sample).

readMetaTemp

If set TRUE, read in the posterior means of fitted metabolite templates (down sampled).

Value

It returns a data list with the objects described in batman.

See Also

batman, batmanrerun

Examples

1
2
3
4
5
6
7
8
library(batman)
## Run BATMAN 
if(interactive()) 
{
bm<-batman()
## Read in output files in saved directory.
bmread<-readBatmanOutput(bm$outputDir,bm$inputDir)
}

batman documentation built on May 2, 2019, 6:13 p.m.