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'). It can be inserted into any websites; see <>). as an example. 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/eCoG' 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: 0.2.3
Imports: grDevices, graphics, dipsaus, xml2, 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
Published: 2021-10-13
Author: Zhengjia Wang [aut, cre, cph], John Magnotti [aut], Xiang Zhang [ctb, res], Brian Metzger [res], Elizabeth Nesbitt [res], Meng Li [ths], Michael Beauchamp [aut, 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
Electrode Localization
Data Visualization (Electrodes)


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

Reverse dependencies:

Reverse imports: raveio


Please use the canonical form to link to this page.