The beta-binomial rho of the null allele votes can differ between chromosomes (small chromosomes up to
about twice the genome-wide value), so one global rho under-penalises the allelic tails of the more overdispersed ones.
Per chromosome, rho is fitted (fit_allelic_null()) on the null rows of classes (default the arms, as the
global rho) and shrunk to the global: rho_c = (n x rho_raw + k x rho_global) / (n + k), n = null rows with
votes. Chromosomes without null rows (chrX in normal mode) keep the global rho (rho_rows()).
Usage
rho_by_chrom(
d,
rho = NULL,
k = params$rho_chrom_k,
null = NULL,
classes = "arm",
params = caller_defaults()
)