parse.transform.matrix.lines: Parse matrix from text file lines.

Description Usage Arguments Value

View source: R/read_fs_transform.R

Description

Parse matrix from text file lines.

Usage

1
parse.transform.matrix.lines(file_lines, ignore_line_suffix = ";")

Arguments

file_lines

vector of 3 character strings, the matrix lines. The separator is assumed to be a single space.

ignore_line_suffix

character string, a line suffix that will be stripped from the end of each line if it exists.

Value

numerical 4x4 matrix, the parsed matrix


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