Changelog
Source:NEWS.md
dineR 2.0.0
New features
estimation()now supports parallel execution across the regularisation path via thecoresargument. Settingcores > 1distributes each lambda value across worker processes usingdoSNOW, yielding 2–3× speed-ups on medium-to-large problems (p ≥ 100 or nlambda ≥ 15). Sequential execution (cores = 1) remains the default.data_generator()now accepts asymmetric sample sizes:n_Ycan be specified independently ofn_X, allowing the two samples to have different numbers of observations.All differential network matrices returned by
estimation()are now stored as sparse matrices (dgCMatrixclass via theMatrixpackage), reducing memory usage for high-dimensional problems.
New vignettes
Parallelisation — covers how to switch between sequential and parallel modes, documents benchmark results across five problem sizes, and provides guidance on choosing the number of cores.
Estimation — step-by-step walkthrough of data generation and the estimation workflow.
Data Generator — documents the
data_generator()function and its outputs in detail.Differential Networks — end-to-end tutorial on generating data and estimating a differential network.
Bug fixes and improvements
Fixed
summary.estimation()S3 method signature to match thesummarygeneric (object, ...), resolving an R CMD check warning.Fixed partial argument matching ambiguity in
data_generator()wherenmatched bothn_Xandn_Y.Added missing
@importFrom foreach foreach %dopar%directive, resolving undefined global variable notes in R CMD check.Added
MatrixandforeachtoImportsanddoParalleltoSuggestsinDESCRIPTION.