View source: R/fsl_smoothest.R
| fsl_smoothest | R Documentation | 
smoothestSmoothness Estimation using smoothest
fsl_smoothest(
  file,
  residual_image,
  z_image,
  dof = NULL,
  opts = "",
  verbose = TRUE,
  ...
)
file | 
 filename of input brain mask  | 
residual_image | 
 4d residual image.  If specified, then
  | 
z_image | 
 z-statistic image.  Cannot be specified if 
  | 
dof | 
 number of degrees of freedom  | 
opts | 
 (character) operations to be passed to   | 
verbose | 
 (logical) print out command before running  | 
... | 
 additional arguments to pass to   | 
An output of smoothness estimate
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)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.