fsl_smoothest: Smoothness Estimation using 'smoothest'

Description Usage Arguments Value Examples

View source: R/fsl_smoothest.R

Description

Smoothness Estimation using smoothest

Usage

1
2
3
4
5
6
7
8
9
fsl_smoothest(
  file,
  residual_image,
  z_image,
  dof = NULL,
  opts = "",
  verbose = TRUE,
  ...
)

Arguments

file

filename of input brain mask

residual_image

4d residual image. If specified, then dof must be specified.

z_image

z-statistic image. Cannot be specified if residual_image is specified

dof

number of degrees of freedom

opts

(character) operations to be passed to smoothest

verbose

(logical) print out command before running

...

additional arguments to pass to fslcmd

Value

An output of smoothness estimate

Examples

1
2
3
4
5
6
7
if (have_fsl()) {
file = mni_fname(mm = 2, brain = TRUE, mask = TRUE)
img = mni_img(mm = 2, brain = TRUE, mask = FALSE)
mask = mni_img(mm = 2, brain = TRUE, mask = TRUE)
img = zscore_img(img = img, mask = mask)
est = fsl_smoothest(file = file, z_image = img)
}

neuroconductor-devel/fslr documentation built on May 6, 2021, 1:44 p.m.