reproducible_ants: Set reproducible seeds and threads for ANTsR execution

Description Usage Arguments Value Note Examples

View source: R/reproducible_ants.R

Description

Set reproducible seeds and threads for ANTsR execution

Usage

1

Arguments

seed

will execute Sys.setenv(ANTS_RANDOM_SEED = seed) before running to attempt a more reproducible result.

Value

A list of 'ANTS_RANDOM_SEED' and 'ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS'

Note

See https://github.com/ANTsX/ANTs/wiki/antsRegistration-reproducibility-issues for discussion.

Examples

1

muschellij2/extrantsr documentation built on July 27, 2021, 7:41 a.m.