Plot an admixture graph using plotly
plotly_graph(
graph,
collapse_threshold = 0,
fix = FALSE,
print_highlow = FALSE,
highlight_unidentifiable = FALSE,
pos = NULL,
nudge_y = -0.1,
annot = ""
)
An admixture graph
Collapse nodes if they are separated by less than this distance (for fitted graphs)
If TRUE
, there will be an attempt to rearrange the nodes to minimize
the number of intersecting edges. This can take very long for large graphs.
By default this is only done for graphs with fewer than 10 leaves.
Highlight unidentifiable edges in red. Can be slow for large graphs. See unidentifiable_edges
.
Optional data frame with node coordinates (columns node
, x
, y
)
A plotly object
plotly_graph(example_graph)