Skip to content

PhosKinTime-Vis TypeScript API


PhosKinTime-Vis TypeScript API / transforms/kl / KL_THRESHOLD

Variable: KL_THRESHOLD

const KL_THRESHOLD: 0.03 = 0.03

Defined in: src/lib/transforms/kl.ts:9

protwise plot_kld (plotting.py:379-396 at e634e17): each (gene, psite) row of observed and estimated values over time is divided by its row sum; KL(obs || est) with scipy.stats.entropy (natural log); mean per gene; bars flagged when KL > 0.03.

Gaps: PhosKinTime's rows have no nulls. Where a bundle row has nulls, this uses the time points where both values exist (pairwise complete) and reports how many points were dropped.