Learn R Programming

neuroim2 (version 0.8.5)

ROICoords: Create ROI Coordinates Object

Description

Creates an ROICoords object from a matrix of coordinates representing points in 3D space.

Usage

ROICoords(coords)

Value

An ROICoords object

Arguments

coords

A matrix with 3 columns representing (x, y, z) coordinates

Details

ROI Coordinates

Examples

Run this code
coords <- matrix(c(1,2,3, 4,5,6), ncol=3, byrow=TRUE)
roi_coords <- ROICoords(coords)

Run the code above in your browser using DataLab