writeBmeaBatch: Write the parameters to disk for a batch of genes

Description Usage Arguments Details Value See Also

Description

Writes the quantiles & summary statistics to disk for a batch of genes

Usage

1
2
writeBmeaBatch(batchData, paramToWrite = c("c", "mu", "phi"), ...,
  nodePath = NULL, writeLog = TRUE, verbose = 0)

Arguments

batchData

contains the results for a batch of genes after analysis with BMEA. Must be the output from fitBmeaBatch

paramToWrite

the model parameters to write to disk. Any non-model parameters will be ignored

...

required for passing arguments from higher level functions

nodePath

the path to be used if being analysed on a specific node.

writeLog

specifies whether a log file will be written for each batch of genes

verbose

determines how much information will be displayed

Details

This function will write the requested model parameters to disk, along with any contrasts simulated, for a batch of genes. The batchData input must be the output from fitBmeaBatch.

If nodePath=NULL, model parameters will be written to the subdirectory bmeaData/modelData/parentName,parameterName/chipName, otherwise the output path will be written to nodePath/bmeaData/modelData/parentName,parameterName/chipName.

If contrasts have been supplied, the contrast data will be written to the subdirectories bmeaData/contrastData/parentName,logFC/chipName & bmeaData/contrastData/parentName,phiLogFC/chipName. If a nodePath has been supplied, this path will similarly appear at the beginning of the specified paths.

If writeLog=TRUE, a log file will be written to the directory bmeaData with the name parentName.log.txt. The units, parameters and time & date informastion are stored in this file.

Value

Returns a list with components:

See Also

fitBmeaBatch


steveped/BMEA documentation built on May 30, 2019, 5:38 p.m.