linda_predict: Run Lesion Prediction from LINDA

Description Usage Arguments Value

View source: R/linda_predict_function.R

Description

Run Lesion Prediction from LINDA

Usage

1
2
3
4
5
6
linda_predict(file = NA, brain_mask = NULL, n_skull_iter = 2,
  verbose = TRUE, outdir = NULL, voxel_resampling = c(2, 2, 2),
  sigma = 2, reflaxis = 0,
  saveMNI = file.exists(system.file("extdata", "pennTemplate",
  "templateToCh2_0GenericAffine.mat", package = "LINDA", mustWork =
  FALSE)), cache = TRUE)

Arguments

file

Filename of T1 image

brain_mask

A filename or antsImage object. If this is passed in, then skull stripping is not done

n_skull_iter

Number of skull stripping iterations

verbose

Print diagnostic messages

outdir

Output directory

voxel_resampling

Resampling resolution of voxesl

sigma

Smoothing factor, passed to asymmetry_mask and smoothImage

reflaxis

Reflection axis

saveMNI

(logical) whether to save outputs in MNI space If transformation files are available, saveMNI=TRUE. Otherwise saveMNI=FALSE. Manually setting to TRUE without transformation files will force a de novo registration between internal templates.

cache

(default=TRUE) use existing processed files to speed up processing. Useful for interrupted processes. Will re-process and overwrite if set to FALSE

Value

A list of things


neuroconductor-releases/LINDA documentation built on Nov. 13, 2020, 11:29 p.m.