papaya.Rd
Wraps a widget for the Papaya JavaScript library
papaya(
img = NULL,
elementId = NULL,
width = NULL,
height = NULL,
options = NULL,
sync_view = FALSE,
hide_toolbar = FALSE,
hide_controls = FALSE,
orthogonal = TRUE
)
img | Vector of character file names or list of |
---|---|
elementId | ID for the element in the DOM |
width | Width of the widget |
height | height of the widget |
options | to pass to papaya widget. Should be a list with
the same number of elements as images passed in. Options can
be generated using |
sync_view | should the view be synced to other Papaya viewers? |
hide_toolbar | Hide the toolbar for this viewer? |
hide_controls | Hide the controls (increment) for this viewer? |
orthogonal | Should an orthogonal view be displayed ( |
img = kirby21.t1::get_t1_filenames()[1]
papaya(img, options = papayaOptions(min = 0, max = 5e5))
papaya(c(img, img),
options = list(papayaOptions(alpha = 0.5),
papayaOptions(alpha = 0.5, lut = "Red Overlay"))
)
papaya()