papaya: View images with Papaya

View source: R/papaya.R

papayaR Documentation

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

## 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)

CICA documentation built on Sept. 11, 2024, 6:33 p.m.