Convert qPCR Ct values to relative abundance with a fitted DA-cVAE's frozen reference
Source:R/singlesample-dacvae-scorer.R
dacvae_ct_to_abundance.RdApplies a fitted ct-mode fit_dacvae model's FROZEN per-miRNA Ct
reference (median train Ct), assay efficiency \(E\), and censored-Ct MZR floor to a
matrix of qPCR cycle-threshold values, returning the relative-abundance matrix
\(E^{-(Ct - \mathrm{ref})}\) (censored / undetected Ct \(\to\) the floor). Exposed
for the cross-platform harness to convert qPCR cohorts to the abundance simplex with
the SAME frozen reference the model was fit under (single-sample-faithful). For an
abundance-mode model this is a no-op identity.
Arguments
- model
A
dacvae_modelfromfit_dacvae.- X
Numeric matrix of qPCR Ct values (samples x features); named feature columns.