read.table
which additionally ensures that the affineType
attribute is set. This is required because there are different conventions for storing affine matrices.readAffine(fileName, type)
"niftyreg"
(which is believed to correspond to the convention used by the SPM software), and "fsl"
(for FSL FLIRT).affineType
attribute set to the value of the type
parameter.read.table
, writeAffine
, convertAffine