View source: R/interactive_plotting.R
Display an orthographic projection plot of a nifti object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
underlay |
underlay image to be shown in grayscale. |
overlay |
optional overlay image. |
xyz |
x, y, z slice coordinates to display. |
zlim |
underlay intensity limits. |
zlim_ol |
overlay intensity limits. |
alpha |
transparency of overlay. |
col_ol |
colour palette of overlay. |
orient_lab |
display orientation labels (default TRUE). |
rescale |
rescale factor for the underlay and overlay images. |
crosshairs |
display the crosshairs (default TRUE). |
ch_lwd |
crosshair linewidth. |
colourbar |
display a colourbar for the overlay (default TRUE). |
bg |
plot background colour. |
mar |
plot margins. |
smallplot |
smallplot option for positioning the colourbar. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.