write.nii.voxel: Write NII Voxel

Description Usage Arguments Details Value Author(s)

Description

Write NII Voxel

Usage

1
write.nii.voxel(nii.file, coords, value)

Arguments

nii.file

Full directory listing to a NIFTI file. File must not be gzipped.

coords

A numeric vector conatining x,y,z,t coordinates indicating the location to write values

value

A numeric value to write

Details

NIFTI files need to be unzipped before using this function or any other portions of the nifti.io package. This is necessary given the inconsistent way in which gzipped files are indexed (Some information on this is given in the documentation for the readBin function).

Value

Output directly to NIFTI file.

Author(s)

Timothy R. Koscik <[email protected]>


TKoscik/tk.nifti documentation built on May 17, 2019, 6:34 p.m.