Learn R Programming

Morpho (version 2.12)

read.slicerjson: read Landmarks from Slicer in Json format

Description

read Landmarks from Slicer in Json format

Usage

read.slicerjson(x, lps2ras = FALSE, na = NULL)

Value

returns matrix or list of matrices with imported landmark coordinates

Arguments

x

path to json file

lps2ras

logical: if the coordinate system is LPS and lps2ras=TRUE, the data will be rotated into the RAS space by inverting the first two dimensions using LPS2RAS.

na

value to be replaced by NA