ConvertVolume: ConvertVolume - convert a 3D MRI volume into a list of values

Description Usage Arguments Examples

View source: R/ConvertVolume.R

Description

This function will return a 3D array for items within a list. The dimensions of the image must be specified and match the same number of items as the list. Useful when converting an array to a list See below for examples.

Usage

1
ConvertVolume(vol_array, vol_dim)

Arguments

vol_array

A 3D array that contains values per voxel

vol_dim

A numeric of three values to use to identify the size of each dimension (X,Y,Z)

Examples

1
thresh_vol <- ConvertVolume(thresh_map,vol_dim)

DCAN-Labs/MarginalModelCIFTI documentation built on Nov. 30, 2021, 3:40 p.m.