View source: R/write_cifti_axes.R
| cifti.axis.brain.models | R Documentation |
A brain model axis describes which surface vertices and volume voxels a
matrix dimension of a CIFTI-2 file contains, in the order in which they appear in the
matrix. This is the mapping of a dense file (.dscalar, .dtseries, .dlabel,
.dconn), and of the files that mix dense and parcellated data.
The index ranges of the models are computed from the index lists, so the models cover the dimension without gaps, which the format requires. A structure may appear in several models (e.g. as a surface and as a volume part in a grayordinates file), and the order of the models is the order of the matrix indices.
cifti.axis.brain.models(models, surfaces = NULL, volume = NULL)
models |
list of brain model entries, as created by
|
surfaces |
named integer vector or |
volume |
a volume, see |
a named list with the entries 'type', 'brain_models', 'surfaces' and 'volumes',
an axis to be passed to cifti.header.from.axes or
write.cifti.
Other cifti functions:
cifti.axis.from.template(),
cifti.axis.labels(),
cifti.axis.parcels(),
cifti.axis.parcels.from.annot(),
cifti.axis.scalars(),
cifti.axis.series(),
cifti.brain.model.surface(),
cifti.brain.model.volume(),
cifti.dim.labels(),
cifti.file.type.for.axes(),
cifti.grayordinates(),
cifti.header.from.axes(),
cifti.label.table(),
cifti.parcel(),
cifti.parcels(),
cifti.series.info(),
cifti.structure.data(),
cifti.structures(),
cifti.volume(),
print.fs.cifti(),
print.fs.cifti.data(),
print.fs.connectome(),
read.cifti(),
read.cifti.header(),
read.cifti.rows(),
read.fs.connectome.cifti(),
write.cifti(),
write.fs.connectome.cifti(),
write.fs.morph.cifti(),
write.fs.parcellated.cifti(),
write.fs.parcellation.cifti(),
write.fs.series.cifti()
axis <- cifti.axis.brain.models(list(
cifti.brain.model.surface("lh", 10L),
cifti.brain.model.surface("rh", 12L)))
axis$type
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.