Learn R Programming

ciftiTools (version 0.9.0)

remove_xifti: Remove a component from a "xifti"

Description

Remove a brain structure, surface, or subcortical structure from a "xifti".

Usage

remove_xifti(xifti, remove = NULL, remove_sub = NULL)

Arguments

xifti

A "xifti" object.

remove

A character vector containing one or more of the following: "cortex_left", "cortex_right", "subcortical", "surf_left", and "surf_right". Each of these components will be removed from xifti.

remove_sub

A vector containing subcortical structures to be removed from xifti. Can be specified with names, or with numeric factor values: see substructure_table.

Value

The new "xifti" with the requested component(s) removed

See Also

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