View source: R/plot_gene_support.R
plot_gene_support | R Documentation |
Plot gene tree support Plot a tree with gene tree support values on each edge.
plot_gene_support( main_tree, n_trees, support, edge_second_node = (length(main_tree$tip.label) + main_tree$Nnode - length(support) + 1):(length(main_tree$tip.label) + main_tree$Nnode), lab_size = 2, supp_size = 2, xlim_max = 0.5, hjust = 1 )
main_tree |
A tree to plot edge information for. |
n_trees |
The number of trees providing support for the main tree. |
support |
A list of node values for each branch of main_tree. |
edge_second_node |
Second node in the edge for each support value. |
lab_size |
The size of the tip labels, default is 2. |
supp_size |
The size of the support labels, default is 2. |
xlim_max |
The length of the x axis. |
hjust |
Horizontal adjustment for support labels. |
A ggtree object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.