Description Usage Arguments Value Author(s) Examples
This function returns the largest datatype from a set of files or images. The return value is a code in RNiftyReg format or the exact nifti code.
1 | getDatatype(input,type="RNiftyReg")
|
input |
A character vector of file paths, an image or a list of images. |
type |
A character vector. If equal to "RNiftyReg" the code will be returned in RNiftyReg format. If anything else the nifti code will be returned. |
RNiftyReg datatype code or nifti datatype code.
Tim Tierney
1 2 | file<-system.file("extdata","motion_ex.nii.gz",package="FIACH")
getDatatype(file)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.