Learn R Programming

dcemriS4 (version 0.20.2)

descrip-methods: Extract or Replace NIfTI/Analyze Description

Description

Methods that act on the description character string in the NIfTI or Analyze header.

Usage

## S3 method for class 'nifti':
descrip(object)
## S3 method for class 'anlz':
descrip(object)

Arguments

object
is an object of class nifti or anlz.

Examples

Run this code
mniRL <- readNIfTI(system.file("nifti/avg152T1_RL_nifti.nii.gz",
                   package="dcemriS4"))
descrip(mniRL)
descrip(mniRL) <- paste(descrip(mniRL), version$version.string, sep="; ")
descrip(mniRL)

Run the code above in your browser using DataLab