check_ants-methods: Check if antsImage or read in

check_ants-methodsR Documentation

Check if antsImage or read in

Description

Simple check to see if input is character, list, nifti, or class antsImage

Usage

check_ants(x, ...)

## S4 method for signature 'antsImage'
check_ants(x, ...)

## S4 method for signature 'ANY'
check_ants(x, ...)

## S4 method for signature 'character'
check_ants(x, ...)

## S4 method for signature 'list'
check_ants(x, ...)

Arguments

x

character path of image or an object of class antsImage

...

arguments passed to other methods, namely antsImageRead

Value

antsImage object

Author(s)

John Muschelli muschellij2@gmail.com

See Also

antsImageRead


stnava/ANTsR documentation built on April 16, 2024, 12:17 a.m.