threeBrain: 3D Brain Visualization

A fast, interactive cross-platform, and easy to share 'WebGL'-based 3D brain viewer that visualizes 'FreeSurfer' and/or 'AFNI/SUMA' surfaces. The viewer widget can be either standalone or embedded into 'R-shiny' applications. The standalone version only require a web browser with 'WebGL2' support (for example, 'Chrome', 'Firefox', 'Safari'), and can be inserted into any websites. The 'R-shiny' support allows the 3D viewer to be dynamically generated from reactive user inputs. This feature has been fully adopted by 'RAVE' <>, an interactive toolbox to analyze 'iEEG' data. Documentation about 'threeBrain' is provided by <> and several vignettes included in this package. To cite the package, please check our 'NeuroImage' paper by Magnotti, Wang, and Beauchamp (2020, <doi:10.1016/j.neuroimage.2020.117341>), or see 'citation("threeBrain")' for details.

Version: 1.0.1
Imports: utils, grDevices, graphics, dipsaus, ravetools, xml2, servr, shiny (≥ 1.2.0), digest (≥ 0.6.22), freesurferformats (≥ 0.1.7), jsonlite (≥ 1.5), stringr (≥ 1.3.1), htmlwidgets (≥ 1.3), R6 (≥ 2.3.0), gifti (≥ 0.7.5), oro.nifti (≥ 0.9.1)
Suggests: knitr, rmarkdown, DT, htmltools
Published: 2023-07-03
Author: Zhengjia Wang [aut, cre, cph], John Magnotti [aut, res], Xiang Zhang [ctb, res], Brian Metzger [res], Elizabeth Nesbitt [res], Meng Li [ths], Michael Beauchamp [ths, dtc]
Maintainer: Zhengjia Wang < at>
License: GPL-3 | file LICENSE
NeedsCompilation: no
Language: en-US
Citation: threeBrain citation info
Materials: NEWS
CRAN checks: threeBrain results


Reference manual: threeBrain.pdf
Vignettes: Getting Started
Data Visualization (Electrodes)


Package source: threeBrain_1.0.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): threeBrain_1.0.1.tgz, r-oldrel (arm64): threeBrain_1.0.1.tgz, r-release (x86_64): threeBrain_1.0.1.tgz, r-oldrel (x86_64): threeBrain_1.0.1.tgz
Old sources: threeBrain archive

Reverse dependencies:

Reverse imports: ravedash, raveio


Please use the canonical form to link to this page.