read.dti.trk {freesurferformats} | R Documentation |
Read fiber tracks from Diffusion Toolkit in trk format.
Description
Read fiber tracks from Diffusion Toolkit in trk format.
Usage
read.dti.trk(filepath)
Arguments
filepath |
character string, path to file in trk format. |
Value
named list, the parsed file data. The naming of the variables follows the spec at http://trackvis.org/docs/?subsect=fileformat
.
Examples
## Not run:
trk = read.dti.trk("~/simple.trk");
trk2 = read.dti.trk("~/standard.trk");
trk3 = read.dti.trk("~/complex_big_endian.trk");
## End(Not run)
[Package freesurferformats version 0.1.18 Index]