ijk.afni2oro | R Documentation |
ijk.afni2oro: given afni gui voxel dims, get MNI (LPI) dims for oro.nifiti::readNifTI's @.Data matrix
ijk.afni2oro(ijk, dm)
ijk: |
i,j,k vector read from afni gui |
dm: |
dim(x@.Data) |
## Not run:
x <- oro.nifti::readNIfTI('betas.nii.gz')
idx <- ijk.afni2oro(c(25,20,30), dim(x) )
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.