fitBmea: Fit the BMEA model for a large number of units

Description Usage Arguments Details Value See Also

Description

Fit a large number of units in batches using the BMEA model

Usage

1
2
fitBmea(celSet, bgCelSet, units = NULL, batchSize = 2^4, conditions,
  contMatrix, ..., verbose = 0)

Arguments

celSet

the celSet which is being processed

bgCelSet

a list with components lambda & delta. Each component must be a celSet containing the information for the background signal priors

units

the units to be processed

batchSize

the number of units to process before writing to disk. Defaults to 16 (2^4)

conditions

a vector of factors

contMatrix

the contrasts

...

used for passing arguments to fitBmeaBatch, writeBmeaBatch & runMCMC.BMEA

verbose

controls the level of detail to be displayed whilst the process is running

Details

This is the high-level function which fits the specified units in batches, as determined by batchSize. Each batch of units (i.e. genes) is fitted, then the parameters written to disk. Generally writing to disk can be a bottleneck when it comes to processing time, so a wise choice for batchSize can impact on the speed of the process.

Value

NULL

See Also

fitBmeaBatch, writeBmeaBatch, runMCMC.BMEA


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