add_surf: Add surface(s) to a '"xifti"'

Description Usage Arguments Details Value See Also

View source: R/add_surf.R

Description

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

Usage

1
add_surf(xifti, surfL = NULL, surfR = NULL)

Arguments

xifti

A "xifti" object.

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.

See Also

Other functions for manipulating 'xifti' objects: apply_xifti(), combine_xifti(), convert_to_dlabel(), merge_xifti(), newdata_xifti(), remove_xifti(), select_xifti(), transform_xifti()


neuroconductor/ciftiTools documentation built on Dec. 22, 2021, 1:09 a.m.