R/plot_comm_dendrogram.R
plot_comm_dendrogram.RdPlot a hierarchical cluster analysis on a communities object
plot_comm_dendrogram(
x,
labels = NULL,
hang = 0.1,
axes = TRUE,
frame_plot = FALSE,
ann = TRUE,
main = "Communities dendrogram",
sub = "",
xlab = "",
ylab = "",
...
)a communities object
A character vector of labels for the leaves of the tree.
By default the row names or row numbers of the original data are used.
If labels = FALSE no labels at all are plotted.
The fraction of the plot height by which labels should hang below the rest of the plot. A negative value will cause the labels to hang down from 0.
logical flags as in plot.default.
character strings for title.
Further graphical arguments. E.g., cex controls the size of
the labels (if plotted) in the same way as text.
nothing, only the plot is shown
Plot the result of one of the community detection algorithms as a nice
dendrogram. Except for x, all arguments are used for the plot
function.
This works for the results from the extract_comm_walktrap,
extract_comm_fastgreedy, and extract_comm_girvan.
It (currently) does not work for the results from extract_comm_louvain.