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 = NULL)"niftyreg" (which is also believed to correspond to the convention used by the SPM software), and "fsl" (for FSL FLIRaffineType attribute set appropriately.read.table, writeAffine, convertAffine