Description Usage Arguments Value Examples
Plot a phylogenetic tree
1 2 |
edges |
dataframe comprising an adjacency matrix (and optionally including Population column) |
output_dir |
folder in which to save the image file; if NA then plots are displayed on screen instead |
output_filename |
name of output image file |
fill |
fill colour of the nodes (excluding the root, which is always red) |
display |
whether to display the tree |
either an image file or a plot displyed on screen
1 2 | edges1 <- data.frame(Parent = c(0,1,1,2,2,3,3), Identity = 1:7, Population = c(2,10,5,10,20,10,3))
plot_tree(edges1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.