concat_hemis: Concatenate gifti data from each hemisphere.

Description Usage Arguments Value

View source: R/concat_hemis.R

Description

Convenience function for working with objects of class gifti (see gifti package).

Usage

1
concat_hemis(l, hemis = c("L", "R"), pattern = NULL)

Arguments

l

a list of giftis. must be of length 2, where each element contains a single gifti, one per hemisphere.

hemis

a character vector indicating which list element is L or R. Default order: c("L", "R")

pattern

(optional) regexp for extracting only images with matching labels

Value

matrix of N_vertex by N_images, where N_vertex includes all L and R vertices.


mcfreund/mfutils documentation built on Feb. 6, 2022, 4:57 a.m.