Remove File Extensions Around the NIfTI/ANALYZE Formats

Share:

Description

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

Usage

1
2
3
4
5
6
7
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(s)

Brandon Whitcher bwhitcher@gmail.com

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.