read.dti.tsf: Read DTI tracking per-coord data from file in MRtrix 'TSF'...

Description Usage Arguments Value Note See Also Examples

View source: R/read_dti_tck.R

Description

Read DTI tracking per-coord data from file in MRtrix 'TSF' format.

Usage

1
read.dti.tsf(filepath)

Arguments

filepath

character string, path to the TSF file to read.

Value

named list with entries 'header' and 'scalars'. The scala data are available in 2 representations: 'merged': a vector of all values (requires external knowledge on track borders), and 'scalar_list': organized into a list of vectors. Each vector represents the values for the points of one track.

Note

The data in such a file is one value per track point, the tracks are not part of the file but come in the matching TCK file.

See Also

read.dti.tck

Examples

1
2
3
4
5
## Not run: 
 tsff = "~/simple.tsf";
 tsf = read.dti.tsf(tsff);

## End(Not run)

freesurferformats documentation built on Feb. 11, 2022, 5:06 p.m.