Flag samples whose dominance score exceeds a calibrated threshold
Source:R/singlesample-within-sample.R
ws_dominance_flag.RdConvenience wrapper: returns a logical vector of length nrow(x)
indicating which samples have a dominance score exceeding
threshold. Use fit_dominance_threshold to calibrate
the threshold from a training reference cohort.