View source: R/write_dti_tracks.R
| as.fs.tracts | R Documentation |
Accepts an fs.tracts instance, a list of numeric matrices
with 3 columns, or a single such matrix (which is then treated as one
tract), and returns an fs.tracts instance. This is what the writers
use to accept several input types.
as.fs.tracts(tracts, kind = "tck")
tracts |
the input, see the description. |
kind |
character string, 'tck' or 'trk', used for the returned instance. |
an fs.tracts instance.
tracts <- as.fs.tracts(list(matrix(c(0, 0, 0, 1, 1, 1), ncol = 3, byrow = TRUE)));
length(tracts);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.