hemilist.wrap: Wrap data into a named hemi list.

Description Usage Arguments Value

View source: R/hemilist.R

Description

Wrap data into a named hemi list.

Usage

1
hemilist.wrap(data, hemi, hemilist = NULL)

Arguments

data

something to wrap, typically some data for a hemisphere, e.g., a vector of morphometry data values. If NULL, the name will not be created.

hemi

character string, one of 'lh' or 'rh'. The name to use for the data in the returned list.

hemilist

optional hemilist, an existing hemilist to add the entry to. If left at the default value 'NULL', a new list will be created.

Value

named list, with the 'data' in the name given by parameter 'hemi'


neuroconductor/fsbrain documentation built on Sept. 16, 2020, 2:30 p.m.