d3heatmapGadget: A shiny gadget for d3heatmaps

View source: R/gadget.R

d3heatmapGadgetR Documentation

A shiny gadget for d3heatmaps

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

d3heatmapGadget(x, ...)

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

## Not run: 

hmg <- d3heatmapGadget(mtcars)

class(hmg)
# "d3heatmapGadget"


## End(Not run)


rstudio/d3heatmap documentation built on Nov. 18, 2024, 9:20 a.m.