intervalframe.IntervalFrame.segment#

IntervalFrame.segment(column, method='online_both', cutoff=0.5, hazard=100, shuffles=5000, p=5e-05)[source]#

Annotate values in one IntervalFrame with another

Parameters:
iframe : IntervalFrame

Intervals used to annotate

column : str

Name of the column to use

method : str

How to annotate (‘bcp_online’,’bcp_online_both’,’cbs’)

cutoff : float

Cutoff for bcpseg

hazard : int

Hazard for bcpseg

shuffles : int

Number of shuffles for cbs

p : float

P-value for cbs

Returns:

segment_iframeIntervalFrame

Segmented Intervals