transformlist_from_outprefix: Get list of transforms that would likely be made with a...

Description Usage Arguments Value Examples

View source: R/transformlist_from_outprefix.R

Description

Get list of transforms that would likely be made with a specific 'outprefix'

Usage

1
2
3
4
5
transformlist_from_outprefix(
  outprefix,
  typeofTransform = "SyN",
  only_exists = FALSE
)

Arguments

outprefix

If you used this in antsRegistration, then what would be the filenames of the transforms

typeofTransform

transformation to be used in registration

only_exists

if TRUE, only those that exists will be returned.

Value

A list of character vectors

Examples

1
2
3
4
5
6
outprefix = tempfile()
transformlist_from_outprefix(outprefix)
transformlist_from_outprefix(outprefix, typeofTransform = "Rigid")
res = transformlist_from_outprefix(outprefix, typeofTransform = "Rigid",
only_exists = TRUE)
stopifnot(is.null(res))

neuroconductor/extrantsr documentation built on Sept. 28, 2020, 11:31 a.m.