"xifti" objectAdd left or right cortical surface geometry to a "xifti" object.
add_surf(xifti, surfL = NULL, surfR = NULL)Object of class "xifti".
See is.xifti and make_xifti.
(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.
(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.
the "xifti" object with added surface geometry components.
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.