alphagenome.visualization.plot_components.OverlaidTracks#
- class alphagenome.visualization.plot_components.OverlaidTracks(tdata, colors=None, cmap='viridis', track_height=1.0, ylabel_template='{name}:{strand}', ylabel_horizontal=True, shared_y_scale=False, alpha=0.8, order_tdata_by_mean=True, max_num_tracks=50, legend_loc='upper right', **kwargs)[source]#
Component for visualizing overlaid track pairs, such as REF/ALT tracks.
Attributes#
Table
Returns the number of matplotlib axes required by the component. |
- OverlaidTracks.num_axes#
Returns the number of matplotlib axes required by the component.
- OverlaidTracks.total_height#
Returns the total figure height.
Methods#
Table
|
Returns the height of the axis. |
|
Plots the overlaid tracks on the given axis. |