xml_node_gifti_coordtransform: Create XML GIFTI CoordinateSystemTransformMatrix node.

Description Usage Arguments Value

View source: R/gifti_xml_tools.R

Description

Create XML GIFTI CoordinateSystemTransformMatrix node.

Usage

1
2
3
4
5
6
xml_node_gifti_coordtransform(
  transform_matrix,
  data_space = "NIFTI_XFORM_UNKNOWN",
  transformed_space = "NIFTI_XFORM_UNKNOWN",
  as_cdata = TRUE
)

Arguments

transform_matrix

numerical 4x4 matrix, the transformation matrix from 'data_space' to 'transformed_space'.

data_space

character string, the space used by the data before transformation.

transformed_space

character string, the space reached after application of the transformation matrix.

as_cdata

logical, whether to wrap text attributes ('data_space' and 'transformed_space') in cdata tags.

Value

XML node from xml2


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