papaya | R Documentation |
Writes temporary images out from nifti objects or passes character filenames of images to papaya JS viewer
papaya(images, outdir = NULL, ...)
images |
character filenames or |
outdir |
output directory for index and all to go |
... |
Options to be passed to |
Output directory where index.html, js, and copied nii.gz files
## Not run:
library(neurobase)
x = nifti(img = array(rnorm(100^3), dim= rep(100, 3)), dim=rep(100, 3), datatype=16)
thresh = datatyper(x > 1)
index.file = papaya(list(x, thresh))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.