| $.niftiImage | R Documentation |
These methods provide shorthand access to metadata elements from the NIfTI
header corresponding to an image. The extraction version returns the
corresponding element from the result of niftiHeader, while the
replacement version calls asNifti to replace it.
## S3 method for class 'niftiImage'
x$name
## S3 replacement method for class 'niftiImage'
x$name <- value
x |
A |
name |
A string naming the field required. |
value |
A new value for the field. |
Jon Clayden <code@clayden.org>
niftiHeader, asNifti
im <- readNifti(system.file("extdata", "example.nii.gz", package="RNifti"))
print(im$descrip)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.