Input is minimally a DGEobj containing a DGEList (which is typically TMM-normalized)
and a formula (character representation). If a DGEList is missing on the object the
counts are used as-is. Other arguments can invoke the duplicateCorrelation method and
modify use of quality weights.
Returns a DGEobj class object containing the VoomElist (voom
output), and Fit object (lmFit output).
Quality weights should be enabled unless there is a good reason to turn them
off. If all samples are equal quality, the weights will all approach 1.0 with no
consequence on the results. More typically, some samples are better than others
and using quality weights improves the overall result.
Use var.design if the quality weights are correlated with some factor in the experiment.
This will cause the quality weights to be calculated as a group instead of individually.
Use duplicate correlation (dupCorBlock) when there are subjects that have been sampled more
than once (e.g. before and after some treatment). This calculates a within-
subject correlation and includes this in the model.