intervalframe.IntervalFrame.annotate#

IntervalFrame.annotate(iframe, column, method='mean', column_name=None)[source]#

Annotate values in one IntervalFrame with another

Parameters:
iframe : IntervalFrame

Intervals used to annotate

columns : str

Name of the column to use

method : str

How to annotate (‘mean’,’std’,’median’,’label’)

column_name : str

Name of the new column [defualt: method]

Returns:

None