| read_surf {ciftiTools} | R Documentation |
Get a "surf" object
Description
Coerce a file path to a surface GIFTI, a "gifti" object, a list with
entries "pointset" and "triangle", or a "surf" to a
"surf".
Usage
read_surf(surf, expected_hemisphere = NULL, resamp_res = NULL)
make_surf(surf, expected_hemisphere = NULL, resamp_res = NULL)
Arguments
surf |
Either a file path to a surface GIFTI; a |
expected_hemisphere |
The expected hemisphere ( |
resamp_res |
The resolution to resample the surfaces to. If |
Value
The "surf": a list with components "vertices"
(3D spatial locations), "faces" (defined by three vertices), and
"hemisphere" ("left", "right", or NULL if
unknown).
See Also
Other reading:
as.xifti(),
info_cifti(),
load_parc(),
load_surf(),
read_cifti(),
read_xifti2()
Other surface-related:
add_surf(),
boundary_mask_surf(),
edit_mask_surf(),
even_vert_samp(),
is.surf(),
load_surf(),
mask_surf(),
resample_surf(),
rotate_surf(),
surf_area(),
view_surf(),
write_surf_gifti()