| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/rhandsontable.R |
| 3 |
\name{hot_heatmap} |
| 4 |
\alias{hot_heatmap} |
| 5 |
\title{Handsontable widget} |
| 6 |
\usage{ |
| 7 |
hot_heatmap(hot, cols, color_scale = c("#ED6D47", "#17F556"), renderer = NULL) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{hot}{rhandsontable object} |
| 11 |
|
| 12 |
\item{cols}{numeric vector of columns to include in the heatmap. If missing |
| 13 |
all columns are used.} |
| 14 |
|
| 15 |
\item{color_scale}{character vector that includes the lower and upper |
| 16 |
colors} |
| 17 |
|
| 18 |
\item{renderer}{character defining a Javascript function to be used |
| 19 |
to determine the cell colors. If missing, |
| 20 |
\code{rhandsontable:::renderer_heatmap} is used.} |
| 21 |
} |
| 22 |
\description{ |
| 23 |
Add heatmap to table. |
| 24 |
} |
| 25 |
\examples{ |
| 26 |
MAT = matrix(rnorm(50), nrow = 10, dimnames = list(LETTERS[1:10], |
| 27 |
letters[1:5])) |
| 28 |
|
| 29 |
rhandsontable(MAT) \%>\% |
| 30 |
hot_heatmap() |
| 31 |
} |