One row per (state, allelic configuration). A state may have several rows (e.g. gain = 2:1 at f 2/3 and 3:1 at f 3/4); its allelic LLR is the best row (two-sided), its depth LLR the row's log2 shift.
normal: neutral 1:1; loss 1:0 at f = 1 - eps (shift loss); gain 2:1 (2/3) and 3:1 (3/4), both at the gain shift; cnloh 2:0 at 1 - eps (shift 0). The normal-tissue state set.normal_att: asnormalwith the loss and cnloh rows overf_att(an attenuation-aware sensitivity variant).tumour(per-cell detection and assignment): loss 1:0 at f in c(0.80, f_att); cnloh 2:0 over f_att; gain 2:1 (2/3); gain_as 3:0 over f_att (gain shift); amp 3:1 (0.75), 2:2 (0.5), 4:1 (0.80) with shiftk_amp * log2(cn / 2).
Usage
caller_states(
set = c("normal", "normal_att", "tumour"),
params = caller_defaults()
)