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