coordToIndex-methods: Generic function to convert N-dimensional real world...

Description Usage Arguments Value

Description

Generic function to convert N-dimensional real world coordinates to 1D indices

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
coordToIndex(x, coords)

## S4 method for signature 'BrainSpace,matrix'
coordToIndex(x, coords)

## S4 method for signature 'BrainSpace,numeric'
coordToIndex(x, coords)

## S4 method for signature 'BrainVolume,matrix'
coordToIndex(x, coords)

Arguments

x

the object

coords

a matrix of real world coordinates

Value

a vector of indices


neuroim documentation built on May 2, 2019, 1:04 p.m.