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

check_ants(x)

# S4 method for antsImage
check_ants(x)

# S4 method for ANY
check_ants(x)

# S4 method for character
check_ants(x)

# S4 method for list
check_ants(x)

Arguments

x

character path of image or an object of class antsImage

Value

antsImage object

See also