Merge NIfTI Images across specified direction
This function merges nifti images together in a specified direction.
mergeNiftis(inputPaths, direction = c("x", "y", "z", "t"), outfile = NULL, ncores = 1, ...)
inputPaths
: This is a vector of input filenames (character)direction
: This is the direction you want to merge your image over, x, y, z, or toutfile
: This is the path and file name to save the Nifti file without the suffix, passed to writeNIfTIncores
: Number of cores to be used for this operation...
: Additional arguments passed to readNIfTIReturns a merged NIfTI image