stereo.algorithm.regulatory_network_inference.PlotRegulatoryNetwork.spatial_scatter_by_regulon_3D#
- PlotRegulatoryNetwork.spatial_scatter_by_regulon_3D(network_res_key='regulatory_network_inference', reg_name=None, view_vertical=0, view_horizontal=0, show_axis=False, **kwargs)[source]#
Plot genes of one regulon on a 3D map
- Parameters:
network_res_key (
str
) – the key which specifies inference regulatory network result in data.tl.result, defaults to ‘regulatory_network_inference’ # noqareg_name (
Optional
[str
]) – specify the regulon you want to draw, defaults to None, if none, will select randomly.fn – specify the file name of the output figure, defaults to None, if none, will use regulon name.
view_vertical (
int
) – vertical angle to view to the 3D objectview_horizontal (
int
) – horizontal angle to view the 3D object
Example
data.plt.plot_3d_reg(‘regulatory_network_inference’, ‘Zfp354c’, view_vertical=30, view_horizontal=-30)