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

View source: R/transformlist_from_outprefix.R

transformlist_from_outprefixR Documentation

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

Description

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

Usage

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

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))

muschellij2/extrantsr documentation built on June 3, 2024, 7:04 p.m.