Blondal hemolysis index (log miR-451a - log miR-23a-3p)
Source:R/singlesample-hemolysis.R
hemolysis_index_blondal.RdComputes the eLife-14 Blondal-style hemolysis index on a log-abundance
matrix as \(\log(\mathrm{miR\text{-}451a}) - \log(\mathrm{miR\text{-}23a\text{-}3p})\).
Both anchor features must be present (canonical names
hsa-miR-451a / hsa-miR-23a-3p, or the corresponding MIMAT
accessions MIMAT0001631 / MIMAT0000078); otherwise
NULL is returned and the caller should treat the cell as not
hemolysis-correctable. This is the convention the single-sample pipeline
uses to feed fit_hemolysis_rr / apply_hemolysis_rr.
Value
Numeric vector of length nrow(X_log), or NULL if
either anchor feature is missing from colnames(X_log).