mergeNiftis: Merge NIfTI Images across specified direction

Description Usage Arguments Value

View source: R/mergeNiftis.R

Description

This function merges nifti images together in a specified direction.

Usage

1
2
mergeNiftis(inputPaths, direction = c("x", "y", "z", "t"), outfile = NULL,
  ncores = 1, ...)

Arguments

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 t

outfile

This is the path and file name to save the Nifti file without the suffix, passed to writeNIfTI

ncores

Number of cores to be used for this operation

...

Additional arguments passed to readNIfTI

Value

Returns a merged NIfTI image


neuroconductor/voxel documentation built on May 20, 2021, 9:39 p.m.