Read a gifti file as a surface.

# S3 method for gifti
read_nisurfacefile(filepath, ...)

Arguments

filepath

character string, the full path to the input surface file.

...

ignored

Value

an instance of `fs.surface`, read from the file. See read.fs.surface for details. If none of the reader methods succeed, an error is raised.