alphagenome.visualization.plot_components.Tracks#
- class alphagenome.visualization.plot_components.Tracks(tdata, cmap='viridis', truncate_cmap=True, track_height=1.0, filled=False, ylabel_template='{name}:{strand}', ylabel_horizontal=True, shared_y_scale=False, global_ylims=None, max_num_tracks=50, track_colors=None, **kwargs)[source]#
Component for visualizing tracks.
Attributes#
Table
Returns the number of matplotlib axes required by the component. |
- Tracks.num_axes#
Returns the number of matplotlib axes required by the component.
- Tracks.total_height#
Returns the total figure height.
Methods#
Table
|
Returns the height of the axis. |
|
Plots the tracks on the given axis. |