d3heatmapGadget: A shiny gadget for d3heatmaps

Description Usage Arguments Value Examples

View source: R/gadget.R

Description

Creates a D3.js-based heatmap widget inside a Shiny gadget. Pass into the function either a d3heatmap-compatible matrix or data.frame, or a list of class d3heatmapGadget to start from the gadget's last saved settings

Usage

1

Arguments

x

A numeric matrix or data.frame populated with all numerics, or a list of class d3heatmapGadget

...

arguments to be passed to d3heatmap()

Value

An object of class d3heatmapGadget containing the original data, gadget settings, filter parameters, and the resulting plot

Examples

1
2
3
4
5
6
7
8
9
## Not run: 

hmg <- d3heatmapGadget(mtcars)

class(hmg)
# "d3heatmapGadget"


## End(Not run)

rstudio/d3heatmap documentation built on May 26, 2021, 10:16 p.m.