Description Usage Arguments Details Value Examples
Prompts R's graphic display window to open, this device supports single and multi-frame images as well as different degrees of zoom, making it easy to visualize detailed microscopy data.
1 |
image_obj |
An object of Image class specific to EBImage, stored as multi- dimensional arrays containing the pixel intensities. |
color_mode |
A |
image_title |
A |
Alternatively use plot(image) command to make a simple graph of the first frame.
ViewImage does not return, it displays an image object processed by LoadImage using R graphics.
1 2 3 4 5 6 7 8 9 10 11 12 | #Example 1
#display a sample tiff distributed with the package
#for tiff images with multiple channels, click to scroll through the frames
library(MyoManager)
mouse <- loadImage(system.file('extdata/Mouse_01.tiff', package='MyoManager'))
viewImage(mouse, 2)
#Example 2
#display a sample jpeg from source link
library(MyoManager)
rabbit <- loadImage("https://user-images.githubusercontent.com/60583839/141215629-f19d4a77-c5f0-491f-9262-b22cd59739e3.jpg")
viewImage(rabbit, 0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.