| unparcellate | R Documentation |
Inverse of parcellate(): maps parcel-level values back to vertices.
unparcellate(parcel_data, parcellation, fill = NA_real_)
parcel_data |
Named numeric vector of parcel values. |
parcellation |
Integer vector of labels or file path to a GIFTI label file. |
fill |
Value for medial wall vertices (default: |
Numeric vector of vertex-level values.
Markello RD et al. (2022) Nature Methods 19:1472-1480. doi:10.1038/s41592-022-01625-w
parcel_data <- c("1" = 10, "2" = 20)
labels <- c(1L, 1L, 2L, 2L, 0L)
unparcellate(parcel_data, labels)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.