Given an overlay (e.g., statistics) and underlay (e.g., group-template gifti file). Overlay and underlay must have same structure: lists of length two, with names "L" and "R". Elements within .$L and .$R correspond to vertices.
1 2 3 4 5 6 7 | build_overlay(
d,
col.values,
col.roi.num = "num.roi",
col.hemi = "hemi",
template = mmp
)
|
d |
data.frame with one row per ROI. |
col.values |
name for column of values for overlay |
col.roi.num |
name for column of roi numbers to match in template |
col.hemi |
name for column indicating hemisphere |
template |
which underlay to use? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.