Simple function(s) that remove file extensions commonly found when using NIfTI-1 or ANALYZE format files.

rmniigz(x)

rmnii(x)

rmgz(x)

rmhdrgz(x)

rmhdr(x)

rmimggz(x)

rmimg(x)

Arguments

x

is the file name.

Value

The file name without offending suffix.

Author

Brandon Whitcher bwhitcher@gmail.com