Skip to contents

Recomputes nA, nB, n_hap, n_blocks and f of the allelic_ok regions of features$long from features$votes after dropping the votes of exclude_atoms (an allelic mask, allelic_noisy_tiles()), with the features' own orientation (features$phasing["orientation"]). The depth columns are untouched.

Usage

update_allelic_features(
  features,
  exclude_atoms,
  groups = NULL,
  params = caller_defaults()
)

Arguments

features

scn_features (cell_features()) with votes and atoms

exclude_atoms

atom ids to leave out

groups

pseudobulk groups of the block orientation (as in cell_features(); NULL in normal mode)

params

caller_defaults()

Value

the features object with updated allele columns and a note