View source: R/make_xifti_components.R
| make_cortex | R Documentation |
"xifti"Coerce a path to a GIFTI file, metric or label "gifti" object,
data matrix or vector to a data matrix representing cortical data
(and optionally a corresponding mask).
That is, entries for xifti$data$cortex_\[left/right\] and
xifti$meta$cortex$medial_wall_mask$\[left/right\]. If cortex is
a path to a GIFTI file or a metric "gifti", any column names or
a non-empty label table will also be extracted.
make_cortex(
cortex,
mwall = NULL,
idx = NULL,
cortex_is_masked = NULL,
rm_blank_mwall = TRUE,
rm_bad_mwall = TRUE,
mwall_values = NULL,
side = NULL,
mwall_source = NULL
)
cortex |
A path to a metric or label GIFTI file, metric or label
If |
mwall |
A path to a metric or label GIFTI file, metric or label |
idx |
Only applies if |
cortex_is_masked |
Has the medial wall been masked from If |
rm_blank_mwall |
If the medial wall mask is all |
rm_bad_mwall |
If the medial wall mask doesn't match up with the
data (e.g. the vertex count doesn't add up), should it be discarded?
Default: |
mwall_values |
If the medial wall mask was not provided (or if it was
discarded), infer it from rows in |
side |
|
mwall_source |
Description of where the mwall came from. Just used to print warnings. |
A list with components "data", "mwall", "col_names" and "labels".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.