hemilist: Create a hemilist from lh and rh data.

View source: R/hemilist.R

hemilistR Documentation

Create a hemilist from lh and rh data.

Description

Simply runs list('lh' = lh_data, 'rh' = rh_data): A hemilist (short for hemisphere list) is just a named list with entries 'lh' and/or 'rh', which may contain anything. Hemilists are used as parameters and return values in many fsbrain functions. The 'lh' and 'rh' keys typically contain surfaces or vectors of morphometry data.

Usage

hemilist(lh_data = NULL, rh_data = NULL)

Arguments

lh_data

something to wrap, typically some data for a hemisphere, e.g., a vector of morphometry data values.

rh_data

something to wrap, typically some data for a hemisphere, e.g., a vector of morphometry data values.

Value

named list, with the 'lh_data' in the 'lh' key and the 'rh_data' in the 'rh' key.

See Also

Other hemilist functions: hemilist.derive.hemi(), hemilist.from.prefixed.list(), hemilist.get.combined.data(), hemilist.unwrap(), hemilist.wrap(), is.hemilist()

Examples

  lh_data = rnorm(163842, 5.0, 1.0);
  rh_data = rnorm(163842, 5.0, 1.0);
  hl = hemilist(lh_data, rh_data);


fsbrain documentation built on July 9, 2023, 7:12 p.m.