Learn R Programming

ciftiTools (version 0.9.0)

select_xifti: Select columns of a "xifti"

Description

Select column indices to keep in a "xifti". Can also be used to reorder the columns.

Usage

select_xifti(xifti, idx, add_meta = "select")

Arguments

xifti

A "xifti" object.

idx

The column indices to keep, in order.

add_meta

Add idx to xifti$meta$cifti$misc[[add_meta]] for reference. Default: "select". If NULL or an empty string, do not add a metadata entry.

Value

The "xifti" with only the selected columns.

See Also

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