View source: R/evo_dendrogram.R
evo_dendrogram | R Documentation |
Plot evolutionary dendrogram of a selected variable in a hierarchical clustering of a given dataset of interest.
evo_dendrogram(
data,
var_col,
hclust_obj,
tip_names = TRUE,
scale_data = TRUE,
fsize = c(0.9, 0.8),
outline = FALSE,
lwd = 1,
leg_txt = NA,
palette_discrete = "Set1",
cex = c(0.4, 0.25),
...
)
data |
Data frame object of interest. |
var_col |
Columns from the dataset to plot the evolutionary dendrogram. |
hclust_obj |
Hierarchical clustering object obtained by applying a hierarchical clustering method in the dataset of interest. |
tip_names |
Set whether to plot row names in the evolutionary dendrogram. Default is TRUE. |
scale_data |
Set whether to scale all continuous variable in the dataset when plotting. |
fsize |
Figure size of each evolutionary dendrogram relative to the default dimensions from base plot. Default is c(0.9, 0.8). |
outline |
Set whether to draw border around each evolutionary dendrogram plot. Default is FALSE. |
lwd |
Line width relative to the default. Default is 1. |
leg_txt |
Legend text to place in legend corner. Default is NA. |
palette_discrete |
Palette used to Ancestral State reconstruction of categorical variables. Default is "Set1". |
cex |
A numerical value giving the amount by which plotting text and symbols should be magnified relative to the default. Default is c(0.4, 0.25). |
... |
Additional R base plot arguments to be passed to graphical parameters. |
Evolutionary dendrogram plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.