summaryrefslogtreecommitdiff
path: root/man/heatmap.Rd
blob: 4aef3d0cb3eb752bfe312a65b8ca8cbb84715845 (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
% 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)
}
\arguments{
\item{R}{A square numeric correlation matrix}

\item{title}{Optional plot title}

\item{labels}{Logical to plot column names or not (default FALSE)}
}
\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')

}