Skip to contents

Arm, 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, end and optionally class

bins

bins table

arms

arm_table() output

params

caller_defaults() (tile_sizes)

Value

character vector