coordToGrid {neuroim} | R Documentation |
Generic function to convert N-dimensional real world coordinates to grid coordinates
coordToGrid(x, coords)
## S4 method for signature 'BrainSpace,matrix'
coordToGrid(x, coords)
## S4 method for signature 'BrainSpace,numeric'
coordToGrid(x, coords)
## S4 method for signature 'BrainVolume,matrix'
coordToGrid(x, coords)
x |
the object |
coords |
a matrix of real world coordinates |
a matrix of grid coordinates