read.slicerjson: read Landmarks from Slicer in Json format

View source: R/fiducials.r

read.slicerjsonR Documentation

read Landmarks from Slicer in Json format

Description

read Landmarks from Slicer in Json format

Usage

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

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

Value

returns matrix or list of matrices with imported landmark coordinates


Morpho documentation built on June 22, 2024, 7:19 p.m.