imageviewer: imageviewer

Description Usage Arguments Value Examples

Description

Simple htmlwidgets matrix viewer with WebGL brightness/contrast

Usage

1
2
imageviewer(data, width = NULL, height = NULL, elementId = NULL,
  options = list())

Arguments

data

A matrix

width, height

matrix dimensions

elementId

HTML element Id

options

list of other options (passed through to JS code)

Value

Plot matrix in html widget

Examples

1
2
3
4
5
# Create matrix
m <- matrix(rnorm(512 * 512, mean = 100, sd = 10), 512, 512)

# Plot
imageviewer(m)

Example output

Loading required package: htmlwidgets

imageviewer documentation built on May 2, 2019, 10:21 a.m.