TreeGraph.draw#

missionbio.mosaic.plots.fishplot.TreeGraph.draw

TreeGraph.draw(palette: Optional[dict] = None, fig: Optional[Figure] = None, row: Optional[int] = None, col: Optional[int] = None) Figure#

Create and draw the subclone tree graph.

Parameters:
palette: dict

Dictionary mapping the subclone name to the color.

fig: plotly.graph_objs.figure

Plot figure object

row: int

Row position if fig is specified.

col: int

Col position if fig is specified.

Returns:
figplotly.graph_objs.figure