View source: R/scimesh_bridge.R
| fsbrain_style_to_scimesh_options | R Documentation |
Translates fsbrain style names ("default", "shiny",
"semitransparent", "glass", "edges") to scimesh render_options()
parameters.
fsbrain_style_to_scimesh_options(
style = "default",
bg_rgba = c(1, 1, 1, 1),
width = 800L,
height = 600L
)
style |
character string, an fsbrain style name. See
|
bg_rgba |
numeric vector of length 4, the background color in RGBA (0-1 scale). |
width |
integer, output image width in pixels. Defaults to 800. |
height |
integer, output image height in pixels. Defaults to 600. |
a scimesh render options list from render_options().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.