Description Usage Arguments Value
This produces an URD dendrogram with cells that meet any group of arbitrary criteria highlighted on the tree. It uses the highlight.cells
, highlight.cells.alpha
, and highlight.cells.size
parameters of plotTree
which can alternatively be used to accomplish this.
1 2 3 4 5 6 7 8 9 10 11 | plotTreeHighlight(
object,
label.name,
label.value,
color = "red",
bg.color = "#CCCCCC",
highlight.alpha = 0.6,
highlight.size = 1.5,
combine = c("intersect", "union"),
...
)
|
object |
An URD object |
label.name |
(Character vector) Data to use for selecting cells, see data.for.plot |
label.value |
(List of vectors) List of same length as |
color |
(Character) Color to use for highlighted cells |
bg.color |
(Character) Color to use for non-highlighted cells |
highlight.alpha |
(Numeric) Transparency of highlighted cells (0 is fully transparent, 1 is fully opaque) |
highlight.size |
(Numeric) Size of points of highlighted cells |
combine |
(Character) Should highlighted cells be the |
... |
all additional parameters are passed to |
A ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.