imageviewer {imageviewer}R Documentation

imageviewer

Description

Simple htmlwidgets matrix viewer with WebGL brightness/contrast

Usage

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

# Create matrix
m <- matrix(rnorm(512 * 512, mean = 100, sd = 10), 512, 512)

# Plot
imageviewer(m)

[Package imageviewer version 0.1.0 Index]