phlower.pl.plot_triangle_density

phlower.pl.plot_triangle_density(adata: ~anndata._core.anndata.AnnData, graph_name: str | None = None, layout_name: str | None = None, node_size=10, ax=None, cmap=<matplotlib.colors.LinearSegmentedColormap object>, colorbar=True, **args)

plot triangle density values of the trianglulated graph

Parameters

adata: AnnData

an Annodata object

graph_name: str

graph_name of the starts ends connected graph

layout_name: str

layout name show the graph

node_size: int

the size of the node

ax: matplotlib.axes

the axes of the plot

cmap: matplotlib colormap

the colormap of the node

colorbar: bool

show colorbar or not