Description Usage Arguments Value Examples
Simple htmlwidgets matrix viewer with WebGL brightness/contrast
1 2 |
data |
A matrix |
width, height |
matrix dimensions |
elementId |
HTML element Id |
options |
list of other options (passed through to JS code) |
Plot matrix in html widget
1 2 3 4 5 | # Create matrix
m <- matrix(rnorm(512 * 512, mean = 100, sd = 10), 512, 512)
# Plot
imageviewer(m)
|
Loading required package: htmlwidgets
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.