Description Usage Arguments Value Examples
View source: R/aaa_niftiArraySeed.R
Seed for NiftiArray Class
1 2 3 4 5 6 7 8 |
filepath |
The path (as a single character string) to the NIfTI or HDF5
file where the dataset is located. If a path to the NIfTI is provided we call
|
name |
The name of the group for the NIfTI image in the HDF5 file. Default is set to "image". Unless you have to other "image" groups in the HDF5 file there is no need to change default settings. |
header_name |
The name of the group for the NIfTI header in the HDF5 file. Default is set to "header". Unless you have to other "header" groups in the HDF5 file there is no need to change default settings. |
type |
|
header |
List of NIfTI header information to override call of nifti_header. |
extendible |
Should a single empty dimension be added to the array? Currently necessary for easy reshaping. |
A NiftiArraySeed
object
1 2 3 4 5 | nii_fname = system.file("extdata",
"example.nii.gz", package = "RNifti")
res = NiftiArraySeed(nii_fname)
hdr = nifti_header(res)
res2 = NiftiArraySeed(nii_fname, header = hdr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.