DeCovarT 2.0.0
Release aligned with the GitHub
v2.0.0tag and the first CRAN submission, focused on numerical stability and optimiser cost inR/03_03_DeCovarT_estimate_ratios_frequentist.R(documented invignette("softmax-alr-derivatives"), section Numerical speed-ups and solver safeguards). The CRAN tarball ships the use-cases and softmax/ALR vignettes; remaining articles stay on the pkgdown site.Newton–Raphson evaluation budget. Removed an erroneous
eval.max = 1control passed tostats::nlminb()indeconvolute_ratios_Newton_Raphson(), which capped the entire run at a single objective evaluation and silently returned the equi-balanced start.Cached Cholesky factorisation of \boldsymbol{\Sigma}(\boldsymbol{p}). New internal
.sigma_p_factorisation()assembles the mixture covariance once per trial point, shareschol()/chol2inv()across the log-likelihood, gradient and Hessian, and uses a Cholesky-based log-determinant (verified againstnumDeriv).Analytic gradient for L-BFGS-B.
deconvolute_ratios_L_BFGS_B()now passes the unconstrained analytic score instead of finite differences, with finite-penalty guards when box-constrained line searches drive \boldsymbol{\Sigma}(\boldsymbol{p}) near-singular.marqLevAlgHessian sign under maximisation. Whenminimize = FALSE,marqLevAlgonly negatesfn/gr; the analytic Hessian must be negated by hand so the Commenges et al. RDM criterion can fire. Reported upstream as VivianePhilipps/marqLevAlgParallel#3.Documentation. Expanded use-cases and feature-selection vignettes; CRAN-oriented
DESCRIPTION(MIT licence, arXiv method reference doi:10.48550/arXiv.2309.09557).
DeCovarT 1.0.0
First stabilised release of DeCovarT (semver
1.0.0), marking the end of the exploratory0.xseries. The core ALR-based frequentist deconvolution API, analytic score equations, and simulation tooling are now treated as a stable public surface for downstream use and paper reproduction.Analytic derivatives, numerically verified. The unconstrained and constrained log-likelihood gradients and Hessians (and the additive logistic Jacobian / Hessian) are derived in closed form and unit-tested against
numDerivfinite differences. Earlier faulty numerical / finite-difference-only paths that could mislead Marquardt–Levenberg and related optimisers have been replaced by these verified analytic expressions (seevignette("softmax-alr-derivatives")andtests/testthat/test-03_03_DeCovarT.R).Simulation framework beyond the bivariate toy. Synthetic first- and second-order moments now support arbitrary gene panels (G\gg 2) and multi-type mixtures: AutoGeneS-style mean signatures with a cosine dial, graph-constrained precisions (ER, hub/star, scale-free, SBM, small-world), and bulk convolution via
simulate_bulk_mixture(). A hybrid multi-topology reference scenario (G=50, J=3) inscripts/generate_random_markov_network.Randvignette("synthetic-scenarios")stresses feature selection under EE / DE / differential-modality-like blocks (scDD /muscat-inspired taxonomy).Feature-selection metrics (
compute_average_overlap(),compute_average_jeffreys(),compute_glmnet_gene_scores()) and a sharedcheck_true_theta()validator complete the end-to-end simulation → pre-screen → NSGA-II refinement loop documented invignette("feature-selection").