Learn R Programming

TmCalculator (version 1.1.0)

.chem_correct_vec: Vectorized chemical correction over per-sequence GC percent

Description

Mirrors chem_correct() exactly (including argument validation) but accepts a vector of GC percentages, returning one correction per sequence. Used by the Rcpp-backed tm_nn path.

Usage

.chem_correct_vec(
  DMSO = 0,
  formamide_unit = list(value = 0, unit = "percent"),
  dmso_factor = 0.75,
  formamide_factor = 0.65,
  pt_gc = NULL
)

Arguments