if (FALSE) {
tckf <- "~/simple.tck"
tck <- read.dti.tck(tckf)
# Read only the first 1000 streamlines of a huge tractogram:
first_tracks <- read.dti.tck(tckf, max_tracks = 1000)
# Read the streamlines passing through a region:
region <- read.dti.tck(tckf, bbox = c(-10, 10, -20, 20, 0, 30))
}
Run the code above in your browser using DataLab