summaryrefslogtreecommitdiff
path: root/man/heatmap.Rd
blob: 15bf57846704fa3edbd8daeb101f22b362a89bab (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
27
28
29
30
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/heatmap.R
\name{heatmap}
\alias{heatmap}
\title{Heatmap Plot (Upper Triangle)}
\usage{
heatmap(R, title = NULL, labels = FALSE, order = NULL)
}
\arguments{
\item{R}{A square numeric correlation matrix}

\item{title}{Optional plot title}

\item{labels}{Logical to plot column names or not (default FALSE)}

\item{order}{Optional character vector of the order you want the plot sorted in}
}
\value{
A ggplot object
}
\description{
Minimal ggplot2 relationship structure plot showing the upper triangle
in the top-right corner with no axis labels.
}
\examples{
X <- matrix(data = rnorm(100), nrow = 10)
R <- cor(X)
heatmap(R, title = 'Example Correlation Plot')

}