Skip to contents

toad (Tractography Open Atlas Data) provides easy access to reference white matter tractography atlases of the human brain, for benchmarking and anomaly-detection studies of brain microstructure. It is the data layer of the {tractoverse} package family: imported bundles are returned as the streamline, bundle, and bundle_set S7 classes of the {fiber} package.

Data are hosted as GitHub releases in the package repository and downloaded on demand — no bulky data files are bundled with the package itself.

Installation

You can install the development version of toad from GitHub with:

# install.packages("remotes")
remotes::install_github("tractoverse/toad")

Datasets

Two datasets are available (available_datasets()):

Dataset Bundles License
HCP1065 87 population-averaged white matter bundles CC BY-SA 4.0
TractSeg 72 tracts segmented in each of 105 HCP subjects CC BY-NC 4.0 — non-commercial

Both datasets originate from the Human Connectome Project Young Adult dataset; users must comply with the HCP data-use terms.

HCP1065 population-averaged atlas

A whole-brain tractography atlas averaged across 1,065 healthy adults, containing 87 white matter bundles each represented as a single population-level streamline set. Please cite the original work when using it:

Yeh FC. Population-based tract-to-region connectome of the human brain and its hierarchical topology. Nat Commun 13, 4933 (2022). https://doi.org/10.1038/s41467-022-32595-4

# List all available bundles
available_bundles("HCP1065")

# Load one bundle by name
cst_left <- import_bundle("HCP1065", "Left Corticospinal Tract")
# Or use the convenience accessor
cst_left <- HCP1065_CST_L()

TractSeg per-subject bundles

72 white matter tracts segmented in each of 105 HCP Young Adult subjects using TractSeg, redistributed from the Zenodo archive (DOI: 10.5281/zenodo.1477956). Because the segmentation is per-subject, this dataset supports population-style analyses. Please cite the original TractSeg publication:

Wasserthal J, Neher P, Maier-Hein KH. TractSeg — Fast and accurate white matter tract segmentation. NeuroImage 183, 239–253 (2018). https://doi.org/10.1016/j.neuroimage.2018.07.070

# List all available TractSeg bundles
available_bundles("TractSeg")

# A single subject — returns a bundle
af_left <- import_bundle("TractSeg", "Left Arcuate Fasciculus", subjects = "599469")

# A random sample of 10 subjects — returns a bundle_set
af_sample <- import_bundle("TractSeg", "Left Arcuate Fasciculus", subjects = 10L)

Bundle objects

All bundles are returned as fiber::bundle objects:

  • @streamlines — a list of streamline objects, each carrying:
    • @points — a P×3P \times 3 matrix of 3D coordinates for the PP points along the streamline;
    • @point_data — a list of per-point attributes (e.g. FA, MD);
    • @streamline_data — a list of per-streamline scalars.
  • @bundle_data — bundle-level metadata (name, source dataset, etc.).

Multi-subject imports return a fiber::bundle_set. See the getting started vignette for details, and the {fiber} package for working with these objects.