| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/dendro_data.R |
| 3 |
\name{as.dendro} |
| 4 |
\alias{as.dendro} |
| 5 |
\title{Coerces object to class dendro.} |
| 6 |
\usage{ |
| 7 |
as.dendro(segments, labels, leaf_labels = NULL, class) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{segments}{data.frame with segment data} |
| 11 |
|
| 12 |
\item{labels}{data.frame with labels data} |
| 13 |
|
| 14 |
\item{leaf_labels}{data.frame with leaf label data} |
| 15 |
|
| 16 |
\item{class}{The class of the original model object, e.g. "hclust". This is |
| 17 |
used by \code{\link[=ggdendrogram]{ggdendrogram()}} to determine the angle and justification |
| 18 |
of labels} |
| 19 |
} |
| 20 |
\description{ |
| 21 |
Method for coercing object to class dendro. |
| 22 |
} |
| 23 |
\seealso{ |
| 24 |
\code{\link[=dendro_data]{dendro_data()}} and \code{\link[=ggdendro-package]{ggdendro-package()}} |
| 25 |
} |