alphagenome.visualization.plot_components.IntervalAnnotation#
- class alphagenome.visualization.plot_components.IntervalAnnotation(intervals, colors='darkgray', alpha=0.2, labels=None, use_default_labels=True, label_angle=15)[source]#
Visualizes intervals as rectangles across all plot components.
A rectangle is drawn for each interval and overlaid on top of the final plot, spanning all plot components.
Attributes#
Table
- IntervalAnnotation.has_labels#
Returns True if the annotation has labels.
- IntervalAnnotation.is_variant#
Returns True if the annotation is a variant annotation.
Methods#
Table
|
Adds the interval annotation to an individual axis. |
|
Adds interval labels to an axis. |