blob: cbf0f384549e2de245b90ba1b33e5f140817e6af (
plain)
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
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_order.R
\name{get_order}
\alias{get_order}
\title{Identify Order}
\usage{
get_order(R, method = "hclust")
}
\arguments{
\item{R}{A square numeric correlation matrix}
\item{method}{Hierarchical method to perform (default hclust)}
}
\value{
A character vector
}
\description{
Perform clustering to identify the most useful ordering
to analyze a heatmap or networkplot.
}
\examples{
X <- matrix(data = rnorm(100), nrow = 10)
R <- cor(X)
get_order(R)
}
|