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

View source: R/read_fs_transform.R

parse.transform.matrix.linesR Documentation

Parse matrix from text file lines.

Description

Parse matrix from text file lines.

Usage

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 May 29, 2024, 5:29 a.m.