Takes values and maps them to the correct triangles in space.
gifti_map_value(
pointset,
triangle,
values,
indices = seq(nrow(pointset)),
add_one = TRUE
)
pointset from GIFTI
triangles from GIFTI
Values to map to the triangles. Same length as indices
indices to place the values, must be in the range of 1 and
the number of rows of pointset
Should 1
be added to the indices for the triangle?
A list of coordinates (in triangles) and the corresponding value mapped to those triangles