Sets the 4x4 affine transformation matrix that converts surface coordinates to world (scanner RAS) coordinates.
Usage
surf_to_world(x) <- value
# S4 method for class 'SurfaceGeometry,matrix'
surf_to_world(x) <- valueExamples
# \donttest{
surf_file <- system.file("extdata", "std.8_lh.white.asc", package = "neurosurf")
geom <- read_surf_geometry(surf_file)
#> loading /private/var/folders/9h/nkjq6vss7mqdl4ck7q1hd8ph0000gp/T/Rtmp0Nbniq/temp_libpath80e31f94425b/neurosurf/extdata/std.8_lh.white.asc
new_xform <- diag(4)
surf_to_world(geom) <- new_xform
# }