info_cifti | R Documentation |
Get CIFTI metadata from the NIFTI header and XML using the Connectome
Workbench command -nifti-information
. The information is formatted as
the meta
component in a "xifti"
object
(see template_xifti
), and includes:
medial wall masks for the left and right cortex
the subcortical labels (ordered spatially)
the subcortical mask
other NIFTI intent-specific metadata
info_cifti(cifti_fname)
infoCIfTI(cifti_fname)
infocii(cifti_fname)
cifti_fname |
File path to a CIFTI file (ending in ".d*.nii"). |
Additional metadata depends on the type of CIFTI file:
Start time
The TR
Unit of time
Name of each data column
( Names of each data column.)
( List of L \times 5
data.frames. Row names are the label names. Column names are Key, Red, Green, Blue, and Alpha. List entry names are the names of each data column.)
The metadata component of a "xifti"
for the input CIFTI file
This function interfaces with the "-nifti-information"
Workbench command.
xifti$meta$subcort$labels
is a factor with the following levels:
Cortex-L
Cortex-R
Accumbens-L
Accumbens-R
Amygdala-L
Amygdala-R
Brain Stem
Caudate-L
Caudate-R
Cerebellum-L
Cerebellum-R
Diencephalon-L
Diencephalon-R
Hippocampus-L
Hippocampus-R
Pallidum-L
Pallidum-R
Putamen-L
Putamen-R
Thalamus-L
Thalamus-R
These correspond to the same structures as given by
ft_read_cifti
in the cifti-matlab
MATLAB toolbox. Note that
the first two levels (left and right cortex) are not used.
Other reading:
as.xifti()
,
load_parc()
,
load_surf()
,
read_cifti()
,
read_surf()
,
read_xifti2()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.