coordToGrid {neuroim}R Documentation

Generic function to convert N-dimensional real world coordinates to grid coordinates

Description

Generic function to convert N-dimensional real world coordinates to grid coordinates

Usage

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)

Arguments

x

the object

coords

a matrix of real world coordinates

Value

a matrix of grid coordinates


[Package neuroim version 0.0.6 Index]