Fit the limma differential abundance model
fit_limma_model.RdFits the limma differential abundance model to the intensity data, following
the specified design and (optional) contrast matrices. When a random factor is included,
uses limma::duplicateCorrelation to estimate
the intra-block correlation within groups. Uses limma::lmFit
to fit the initial model, optionally re-parameterizes the results in terms of
contrasts with limma::contrasts.fit,
and then recomputes moderated statistics following limma's empirical Bayes
model with limma::eBayes.