| apply_parc | R Documentation |
Apply a function across all locations in each parcel, for a pair of data and
parcellation "xifti" objects that are in registration with one
another. By default, the mean value in each parcel is calculated.
apply_parc(
xii,
parc,
FUN = mean,
mwall_value = NA,
return_as = c("matrix", "xifti"),
...
)
xii |
The |
parc |
The |
FUN |
A function that takes as input an Use |
mwall_value |
If there is a medial wall in |
return_as |
|
... |
Additional arguments to |
A P \times Q matrix, where P is the number of parcels and
Q is the length of the output of FUN. (For mean,
Q = 1).
Other parcellation-related:
load_parc(),
load_sub_parc(),
parc_add_subcortex(),
parc_borders(),
parc_vals_to_xifti()
Other manipulating xifti:
add_surf(),
apply_xifti(),
combine_xifti(),
convert_xifti(),
impute_xifti(),
merge_xifti(),
move_to_mwall(),
move_to_submask(),
newdata_xifti(),
remap_cifti(),
remove_xifti(),
resample_cifti(),
resample_cifti_from_template(),
scale_xifti(),
select_xifti(),
set_names_xifti(),
smooth_cifti(),
transform_xifti()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.