intervalframe.IntervalSeries#
- class intervalframe.IntervalSeries(intervals, series=None, labels=None, dtype=None, copy_series=False, copy_intervals=False)[source]#
Annotated augmented interval list
IntervalFramestores a intervalsAttributes
Methods
bin_coverage([bin_size, min_length, max_length])Find sum of coverage within binned positions
bin_nhits([bin_size, min_length, max_length])Find number of intervals overlapping binned positions
copy()Copy IntervalSeries
coverage()Find number of intervals overlapping every position in the IntervalFrame
difference(iframe)Remove any overlapping intervals
downsample(proportion)Randomly downsample intervals
ends()exact_match(iframe)Find exact matches between LabeledIntervalArrays
from_array(starts, ends[, labels])intersect(start, end[, label])Find intersecting intervals
Calculate length distribution of intervals
merge([gap])Annotate values in one IntervalFrame with another
nhits(start, end)Find number of intersecting intervals
nhits_from_array(starts, ends)Find number of intersecting intervals
overlap(iframe[, key])Find overlaps in one IntervalFrame with another
segment([method, cutoff, hazard, shuffles, p])Annotate values in one IntervalFrame with another
starts()subtract(iframe)Subtract intersecting regions for IntervalFrame
wps([protection, min_length, max_length])Calculate Window Protection Score for each position in AIList range