add_surf

0th

Percentile

Add surface(s) to a "xifti" object

Add left or right cortical surface geometry to a "xifti" object.

Usage
add_surf(xifti, surfL = NULL, surfR = NULL)
Arguments
xifti

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

surfL

(Optional) Left brain surface model. Can be a file path to a GIFTI surface geometry file (ends in "*.surf.gii"), a "gifti" object representing surface geometry, or a "surf" object.

surfR

(Optional) Right brain surface model. Can be a file path to a GIFTI surface geometry file (ends in "*.surf.gii"), a "gifti" object representing surface geometry, or a "surf" object.

Details

surfL will be added to xifti$surf$cortex_left and surfR will be added to xifti$surf$cortex_right. Any existing surfaces will be overwritten.

Value

the "xifti" object with added surface geometry components.

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

Community examples

Looks like there are no examples yet.