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 /home/runner/work/_temp/Library/neurosurf/extdata/std.8_lh.white.asc
new_xform <- diag(4)
surf_to_world(geom) <- new_xform
# }