Votes summed per cell and region (molecule start inside the region) after orienting the phase
blocks: chromosome = plain sums (chromosome-wide anchored phase; orient = "anchored"); loo =
orient_blocks() (orient = "pseudobulk" without groups, "clone" with groups); mirrored = block
orientation marginalised ( f = the grid MLE f_mirror, nA / nB = the
block-wise majority / minority votes; orient = "none"); auto = chromosome when
detect_phasing() finds chromosome-wide phase sets, else loo. Regions with allelic_ok = FALSE are
skipped.
Usage
allelic_features(
votes,
atoms,
regions,
orientation = c("auto", "chromosome", "loo", "mirrored"),
groups = NULL,
rho = NULL,
params = caller_defaults(),
exclude_atoms = NULL
)Arguments
- votes
votes table
- atoms
atoms table
- regions
regions table
- orientation
"auto", "chromosome", "loo" or "mirrored"
- groups
NULL or one group label per cell (see
orient_blocks())- rho
beta-binomial overdispersion for
mirrored(NULL: fitted on the blocks of null regions with at least 2 votes, at most 2e6 seeded rows)- params
caller_defaults()(eps,seed)- exclude_atoms
NULL or atom ids whose votes are dropped before the region sums (an allelic mask of overdispersed tiles,
allelic_noisy_tiles()); orientation and block logic are otherwise unchanged