gneiss.plot.radialplot¶
-
gneiss.plot.
radialplot
(tree, node_color='node_color', node_size='node_size', node_alpha='node_alpha', edge_color='edge_color', edge_alpha='edge_alpha', edge_width='edge_width', hover_var='hover_var', figsize=(500, 500), **kwargs)[source]¶ Plots unrooted radial tree.
Parameters: - tree (instance of skbio.TreeNode) – Input tree for plotting.
- node_color (str) – Name of variable in tree to color nodes.
- node_size (str) – Name of variable in tree that specifies the radius of nodes.
- node_alpha (str) – Name of variable in tree to specify node transparency.
- edge_color (str) – Name of variable in tree to color edges.
- edge_alpha (str) – Name of variable in tree to specify edge transparency.
- edge_width (str) – Name of variable in tree to specify edge width.
- hover_var (str) – Name of variable in tree to display in the hover menu.
- figsize (tuple, int) – Size of resulting figure. default: (500, 500)
- **kwargs (dict) – Plotting options to pass into bokeh.models.Plot
Returns: Interactive plotting instance.
Return type: bokeh.models.Plot
Notes
This assumes that the tree is strictly bifurcating.
See also
bifurcate()