1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dendrogram.R
\name{dendrogram_data}
\alias{dendrogram_data}
\title{Extract data frame from dendrogram object for plotting using ggplot.}
\usage{
dendrogram_data(x, type = c("rectangle", "triangle"), ...)
}
\arguments{
\item{x}{object of class "dendrogram", e.g. the output of as.dendrogram()}
\item{type}{The type of plot, indicating the shape of the dendrogram. "Rectangle" will draw
rectangular lines, while "triangle" will draw triangular lines.}
\item{...}{ignored}
}
\description{
Extract data frame from dendrogram object for plotting using ggplot
}
\seealso{
\code{\link[=ggdendrogram]{ggdendrogram()}}
Other dendro_data methods:
\code{\link{dendro_data.rpart}()},
\code{\link{dendro_data.tree}()},
\code{\link{dendro_data}()},
\code{\link{rpart_labels}()}
Other dendrogram/hclust functions:
\code{\link{dendro_data}()}
}
\concept{dendro_data methods}
\concept{dendrogram/hclust functions}
\keyword{internal}
|