Learn R Programming

gsClusterDetect (version 1.0.0)

plotly_heatmap: Generate plotly heatmap

Description

Internal function to generate plotly based heatmap

Usage

plotly_heatmap(
  heatmap_data,
  x = "date",
  y = "location",
  z = "count",
  logscale = FALSE
)

Value

a plotly object

Arguments

heatmap_data

data frame generated by `generate_heatmap_data`

x

name of date column, default is "date"

y

name of location column, default is "y",

logscale

boolean (default FALSE); set to TRUE to view on log scale