Structural MRI Moment images

smri_moments(x, mask = NULL, radius = rep(1, 3), suffix = "_",
  outdir = tempdir(), verbose = TRUE, moments = c("mn", "sd", "skew",
  "kurt", "grad", "z"), ...)

Arguments

x

List of images

mask

brain mask for moment

radius

array of values for neighborhood radius (in voxels), passed to neighborhood

suffix

Name to append to the image filename. The moments will be appended to this suffix. Should likely end with an underscore (_) or other separator

outdir

output directory

verbose

print diagnostic messages

moments

Moments to create, mean, standard deviation, skew, kurtosis, gradient, z-score (mean/sd)

...

Additional arguments to create_moment

Value

A list of filenames, separated by imaging modality, containing filenames for all the moments specified