View source: R/plotFilteredGD.R
plotFilteredGD
plot a tree with node labels as
the corrected values (both count and percent). Only nodes both
shown in both gd
and deno
have node labels. Only
nodes with deno > 0 are shown.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
tree |
the species tree used to do tree reconciliation. |
gd |
the summary table of |
deno |
the result of |
type |
can be one of "percent", "count", or "both", determines
the type of threshod value used for node color. Defaults to |
thres_node |
optional. A numeric specify which node (in ape id) are used as threshold to give colors on node labels. |
thres_count |
nodes with counts above this threshold will be plotted
as red. Defaults to |
thres_percent |
nodes with percent above this threshold will be plotted
as red. Defaults to |
color |
two characters specify the colors for node labels. The first is for node above the threshold, and the second is for those below. |
tip.offset |
offset of tip labels in |
node.cex |
size of node labels. |
plot.margin |
four numeric indicate plot margin. Defaults to |
xlim |
used as the x scale in |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.