coordlist_to_vol

0th

Percentile

Convert coordinate list to volume.

Converts a sparse coordinate list to its non-sparse volumetric representation.

Keywords
internal
Usage
coordlist_to_vol(coords, fill = FALSE)
Arguments
coords

The sparse coordinate list. Should be a data.frame or matrix with voxels along the rows and three or four columns. The first three columns should be integers indicating the spatial coordinates of the voxel. If the fourth column is present, it will be the value used for that voxel. If it is absent, the value will be TRUE or 1 if fill is not those values, and FALSE or 0 if fill is. The data type will be the same as that of fill. fill. The fourth column must be logical or numeric.

fill

Fill value for the volume. Must be logical or numeric. Default: FALSE.

Value

The volumetric data

Aliases
  • coordlist_to_vol
Documentation reproduced from package ciftiTools, version 0.1.6.0, License: GPL-3

Community examples

Looks like there are no examples yet.