Managing and Visualizing Brain Surface Data
Overview
Provides high-level access to neuroimaging data from standard software packages like 'FreeSurfer' https://freesurfer.net/ on the level of subjects and groups. Load morphometry data, surfaces and brain parcellations based on atlases. Mask data using labels, load data for specific atlas regions only, and visualize data and statistical results directly in 'R'.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-24
- ERROR12 OK, 1 ERROR2026-06-23
- OK13 OK2026-06-21
Show 2 earlier changesHide 2 earlier changes
- ERROR12 OK, 1 ERROR2026-06-20
- OK14 OK2026-03-10
Documentation
- Help pages
- 454 (201 internal)
- Examples that run
- 23%28 run in a plain check · 93 never run · 1 hold no code
- Exported functions with examples
- 42%
- Documented parameters
- 87%
- Return-value docs
- 90%
- Help pages citing references
- 1%
Downloads
Repository
- PRs merged (all time)
- 89%
- Median days to close, 50 most recently updated closed issues
- 28
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
13 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/dfsp-spirit/fsbrain on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
The repository owner accepts GitHub Sponsors
GitHub Pages site last deployed 2026-09-27 · The repository has a site deploy workflow
Show all practicesHide 3 practices
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.0.0Latest2026-09-26 · current release · diff ↗ ·
added 15 exports
coloredmesh.from.color, download_fs_LR_32_labels, download_xtract_tracts, fs.coloredpaths, index2ras_tkr, is.fs.coloredpaths, read.tract.bundles, subject.region.centroids, subject.vol2surf, template.vol2surf, vis.connectome, vis.subcortical.region.values, vis.tracts, vis.volume.clusters, volvis.shells - 0.8.02026-09-14 · diff ↗ ·
added 4 exports
Triangles3D.to.coloredmesh, download_fs_LR_32_atlases, download_fs_LR_32_meshes, download_fsaverage_atlases - 0.7.0
- 0.6.02026-07-08 · diff ↗ ·
added 4 exports
download_fsaverage_minimal, vis.rglwidget, vis.volume.on.surface, volvis.lb.with.surface - RR 4.6.0 released · 2026-04-24
- 0.5.6
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.5.52024-02-03 · diff ↗
- 0.5.4
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.5.3
- 0.5.22021-11-11 · diff ↗
- 0.5.12021-11-09 · diff ↗ ·
added 9 exports
annot.outline.border.vertices, clip_fun, constant.pervertexdata, geod.patches.color.overlay, geod.vert.neighborhood, geodesic.dists.to.vertex, hemilist.from.prefixed.list, is.fsbrain, qdec.table.skeleton - 0.5.02021-11-10 · diff ↗ ·
added 27 exports
colors.are.grayscale, colors.have.transparency, demographics.to.qdec.table.dat, export, fs.surface.as.adjacencylist, fs.surface.to.igraph, fs.surface.to.tmesh3d, fs.surface.vertex.neighbors, geodesic.path, groupmorph.split.hemilist, hemilist, highlight.points.spheres, highlight.vertices.on.subject.spheres, highlight.vertices.spheres, numverts.lh, numverts.rh, scale01, sjd.demo, surface.curvatures, tmesh3d.to.fs.surface, vertex.coords, vertex.hemis, vis.paths.along.verts, vis.subject.pre, volvis.lb, write.group.morph.standard, write.group.morph.standard.mf
Show 14 earlier eventsHide 14 earlier events
- RR 4.1.0 released · 2021-05-18
- 0.4.3
- 0.4.22021-03-28 · diff ↗
- 0.4.1
- 0.4.02020-09-10 · diff ↗ ·
added 27 exports
arrange.brainview.images.grid, demographics.to.fsgd.file, download_fsaverage3, download_optional_paper_data, fsbrain.set.default.figsize, gen.test.volume, get.rglstyle, group.morph.standard.sf, group.surface, limit_fun, limit_fun_na, principal.curvatures, read.md.subjects.from.fsgd, rglactions, rglo, shape.descriptor.names, shape.descriptors, subject.num.verts, vis.coloredmeshes.rotating, vis.data.on.group.native, vis.data.on.group.standard, vis.export.from.coloredmeshes, vis.group.annot, vis.group.coloredmeshes, vis.group.morph.native, vis.group.morph.standard, write.group.morph.standard.sf - 0.3.02020-06-21 · diff ↗ ·
removed 2 exports
flip2D, rotate2Dadded 13 exports
cm.cbry, coloredmesh.from.preloaded.data, fs.home, fsaverage.path, group.morph.agg.standard.vertex, mkco.cluster, qc.for.group, qc.from.regionwise.df, qc.from.segstats.tables, qc.vis.failcount.by.region, shift.hemis.apart, vdata.split.by.hemi, vis.fs.surface - 0.2.12020-05-27 · diff ↗ ·
added 8 exports
cm.div, cm.heat, cm.qual, cm.seq, mkco.div, mkco.heat, mkco.seq, rglot - 0.2.02020-05-15 · diff ↗ ·
removed 2 exports
flip3D, rotate3Dadded 12 exports
coloredmesh.from.annot, coloredmesh.from.label, coloredmesh.from.morph.standard, coloredmesh.from.morphdata, coloredmeshes.from.color, export.coloredmesh.ply, flip2D, label.colFn, label.colFn.inv, rotate2D, subject.lobes, vis.colortable.legend - RR 4.0.0 released · 2020-04-24
- 0.1.02020-04-15 · diff ↗ ·
added 59 exports
alphablend, annot.outline, apply.transform, brainviews, collayer.bg, collayer.bg.atlas, collayer.bg.meancurv, collayer.bg.sulc, collayer.from.annot, collayer.from.annotdata, collayer.from.mask.data, collayer.from.morphlike.data, collayers.merge, coloredmesh.from.morph.native, colorlist.brain.clusters, cube3D.tris, cubes3D.tris, desaturate, face.edges, find.freesurferhome, flip3D, fs.coloredmesh, getIn, hasIn, hemilist.derive.hemi, hemilist.get.combined.data, hemilist.unwrap, hemilist.wrap, is.fs.coloredmesh, is.fs.coloredvoxels and 29 more - 0.0.32019-12-01 · diff ↗ ·
added 10 exports
apply.label.to.morphdata, apply.labeldata.to.morphdata, arrange.brainview.images, coloredmesh.plot.colorbar.separate, combine.colorbar.with.brainview.animation, combine.colorbar.with.brainview.image, get.view.angle.names, mesh.vertex.neighbors, vis.labeldata.on.subject, vislayout.from.coloredmeshes - 0.0.22019-11-08 · diff ↗ ·
added 10 exports
clip.data, coloredmesh.from.mask, download_fsaverage, labeldata.from.mask, mask.from.labeldata.for.hemi, report.on.demographics, vis.mask.on.subject, vis.region.values.on.subject, vis.subject.label, vis.subject.morph.standard - 0.0.12019-10-30
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-10-30
- Total releases
- 22 / 7 yrs
- License
- MIT + file LICENSE OSI
- Copyright
- Tim Schäfer (package code); the optional data files that can be downloaded at runtime are owned by their respective copyright holders, see 'inst/COPYRIGHTS'.
- Download size
- 5.9 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("fsbrain")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.