alphagenome.visualization.plot_components.ContactMaps#
- class alphagenome.visualization.plot_components.ContactMaps(tdata, track_height=10.0, vmin=-1.0, vmax=2.0, norm=None, ylabel_horizontal=True, ylabel_template='{name}', cmap=None, max_num_tracks=10, **kwargs)[source]#
Component for visualizing contact maps.
The
vmin
andvmax
parameters control the color scaling of the heatmap. Values outside this range will be clipped tovmin
orvmax
.
Attributes#
Table
Returns the number of matplotlib axes required by the component. |
- ContactMaps.num_axes#
Returns the number of matplotlib axes required by the component.
- ContactMaps.total_height#
Returns the total figure height.
Methods#
Table
|
Returns the height of the axis. |
|
Plots the contact map on the given axis. |