flatten_xifti

0th

Percentile

Flatten a "xifti" object

Concatenates the data in a "xifti" object into a single matrix.

Keywords
internal
Usage
flatten_xifti(xifti, medial_wall = NULL, subcort_order = "alphabetical")
Arguments
xifti

Object of class "xifti". See is.xifti and make_xifti.

medial_wall

Should vertices for the medial wall be included with the cortical data? If NULL (default), do not include them. If any other value, use that value to fill rows corresponding to the medial wall mask.

subcort_order

"alphabetical" (default) to match the Connectome Worbench command -cifti-export-dense-mapping, or "spatial" which is already the ordering used in the "xifti".

Details

If all brain structures are present, and if is.null(medial_wall) and subcort_order=="alphabetical" (the default arguments), then the result will be identical to the matrix obtained with the Connectome Workbench command -cifti-export-dense-mapping.

Value

The flattened "xifti", a data matrix

Aliases
  • flatten_xifti
Documentation reproduced from package ciftiTools, version 0.1.6.0, License: GPL-3

Community examples

Looks like there are no examples yet.