## ----setup, echo=FALSE, results="hide"------------------------------------------------------------
knitr::opts_chunk$set(tidy=FALSE, cache=TRUE,
                      dev="png",
                      package.startup.message = FALSE,
                      message=FALSE, error=FALSE, warning=TRUE)
options(width=100)

## ---- eval=FALSE, echo=TRUE-----------------------------------------------------------------------
#  library(BiocParallel)
#  
#  # globally specify that all multithreading using bpiterate from BiocParallel
#  # should use 8 cores
#  register(SnowParam(8))

## ---- eval=FALSE, echo=TRUE-----------------------------------------------------------------------
#  fitExtractVarPartModel(..., BPPARAM=SnowParam(8))
#  
#  fitVarPartModel(..., BPPARAM=SnowParam(8))
#  
#  dream(..., BPPARAM=SnowParam(8))
#  
#  voomWithDreamWeights(...,BPPARAM=SnowParam(8))

