| fs.tracts.coords | R Documentation |
Returns all tract coordinates as a single N x 3 matrix, with the tracts concatenated along the rows. This is the compact representation used internally, and the fastest way to access all coordinates, e.g., for plotting or for computing a bounding box.
fs.tracts.coords(tracts)
tracts |
an |
numeric matrix with 3 columns and one row per point of all tracts.
## Not run:
tck <- read.dti.tck("brain.tck");
coords <- fs.tracts.coords(tck$tracks);
bbox <- apply(coords, 2, range);
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.