Learn R Programming

brainR (version 1.6.0)

makeScene: Make Leveled Scene

Description

Make scene returns a list of levels - but makes them mutually distinct. So if cutoff 0.1, 0.2, then 0.1<= x < 0.2 is an roi, not > 0.1 and > 0.2. Different than contour3d as these are mutually exclusive levels.

Usage

makeScene(data, cutoffs, alpha, cols)

Arguments

data

- 3D array of values (can be nifti-class)

cutoffs

- series of levels to be created

alpha

- alpha levels for each contour

cols

- colors for each contour

Value

scene with multiple objects - can be passed to write4D