Skip to contents

Import fascicles into R

Usage

read_fascicles(file)

Arguments

file

Path to the file containing the tractography data. Currently supported files are .vtk, .vtp, medInria .fds, .tck/.tsf MRtrix, .trk TrackVis file formats.

Value

A tibble storing the set of fascicles.

Examples

uf_left_vtk <- read_fascicles(system.file("extdata", "UF_left.vtk",  package = "riot"))
#> Number of data points: 38697
#> Number of streamlines: 2042
#>  The fascicles stored in /home/runner/work/_temp/Library/riot/extdata/UF_left.vtk have been successfully imported.