Re-aggregate the allele features of a features object without some atoms
Source:R/features.R
update_allelic_features.RdRecomputes 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()) withvotesandatoms- exclude_atoms
atom ids to leave out
- groups
pseudobulk groups of the block orientation (as in
cell_features(); NULL in normal mode)- params