Description Usage Arguments Details Value Author(s) Examples
View source: R/displayLegend.R
This function displays a legend that shows the tree branch sizes/colors divisions.
1 | displayLegend(colors = NULL, divisions = NULL, title = "Confidence Value")
|
colors |
A vector of colors to be used in the plot from lowest ranking to highest ranking. |
divisions |
A vector of numbers from lowest to highest to separate the tree branches into the color ranking. |
title |
The title for the legend. |
The values for division should directly relate to the values of your data, i.e. if your data ranges from 0 to 50000 reads you should adjust the divisions to fit your data.
A blank plot that contains a legend.
Berkley Shands, Patricio S. La Rosa, Elena Deych, William D. Shannon
1 | displayLegend(c("red", "orange", "blue"), c(.1, 100, 10000))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.