papayar (version 1.0)

papaya: View images with Papaya

Description

Writes temporary images out from nifti objects or passes character filenames of images to papaya JS viewer

Usage

papaya(images, outdir = NULL, ...)

Arguments

images
character filenames or nifti objects to be viewed
outdir
output directory for index and all to go
...
Options to be passed to pass_papaya

Value

Output directory where index.html, js, and copied nii.gz files

Examples

Run this code
## 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)

Run the code above in your browser using DataCamp Workspace