ijk.oro2afni | R Documentation |
ijk.oro2afni: given index of oro nifti @.Data matrix, get index to give to AFNI's "jump to ijk"
ijk.oro2afni(ijk, dm)
ijk: |
i,j,k index of oro nifti matrix |
dm: |
dim of oro nifti matrix [dim(x@.Data)] |
## Not run:
x <- oro.nifti::readNIfTI('betas.nii.gz')
dm <- dim(x)
mx <- arrayInd(which.max(d),dm)
ijk.oro2afni(mx[1:3], dm )
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.