coord_MNI152_to_talairach: Transform MNI152 coords to Talairach space using Matthew...

Description Usage Arguments Value Note Examples

View source: R/coords_to_talairach.R

Description

See http://brainmap.org/training/BrettTransform.html.

Usage

1

Arguments

mni152_coords

nx3 numerical matrix of RAS coordinates in MNI152 space.

Value

nx3 numerical matrix of Talairach coordinates.

Note

This is published under the GPL license. See https://github.com/sccn/dipfit/blob/master/mni2tal_matrix.m and https://github.com/sccn/dipfit/blob/master/mni2tal.m for a Matlab implementation of the method. All credits go to Matthew Brett.

Examples

1
2
    mni_coords = matrix(c(10, 12, 14), nrow = 1, ncol = 3, byrow = TRUE);
    coord_MNI152_to_talairach(mni_coords);

dfsp-spirit/brainloc documentation built on Jan. 28, 2022, 12:25 p.m.