read.fs.weight.asc: Read ASCII version of FreeSurfer weight file.

Description Usage Arguments Value

View source: R/read_fs_weight.R

Description

Read ASCII version of FreeSurfer weight file. Called by read.fs.weight if parameter ‘format' is set to ’asc'.

Usage

1

Arguments

filepath

string. Full path to the input weight file, must be in ASCII weight format.

Value

the indices and weight data, as a named list. Entries: "vertex_indices": vector of *n* vertex indices. They are stored zero-based in the file, but are returned one-based (R-style). "value": double vector of length *n*, the morphometry data for the vertices. The data can be whatever you want.


freesurferformats documentation built on Feb. 11, 2022, 5:06 p.m.