sd_class of a region (which null regions give its per-cell null SD)
Source:R/features.R
sd_class_of.RdArm, chrom and tile regions use their own class. Any other region (event, segment) uses, in order:
chrom if it contains >= 90 % of its chromosome's bins; arm if it contains >= 60 % of the bins of
one arm; else the tile size nearest to its length on a log scale. Bins are counted under the depth
(containment) rule over all bins (see region_set()).
Usage
sd_class_of(regions, bins, arms, params = caller_defaults())Arguments
- regions
table with
chrom, start, endand optionallyclass- bins
bins table
- arms
arm_table()output- params
caller_defaults()(tile_sizes)