Skip to content

threeBrain

1.2.0

Your Advanced 3D Brain Visualization

2packages depend
8.7Kdownloads / year
test coverage
11/13checks pass

Overview

About
Maintained by Zhengjia WangFirst published 2019-06-2818 releasesCRAN page ↗GitHub ↗

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. Please check the publication by Wang, Magnotti, Zhang, and Beauchamp (2023, doi:10.1523/ENEURO.0328-23.2023) for electrode localization. This viewer has been fully adopted by 'RAVE' https://openwetware.org/wiki/RAVE, an interactive toolbox to analyze 'iEEG' data by Magnotti, Wang, and Beauchamp (2020, doi:10.1016/j.neuroimage.2020.117341). Please check 'citation("threeBrain")' for details.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 2.6 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
17
Dependencies · direct
Check history
  • NOTE2026-07-11
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
87%
Documented parameters
91%
Return-value docs
47%
References docs
0%

Downloads

8.7K
CRAN downloads in the past year
Rank #4,833 · ~24/day · ~722/mo
Daily download trend is not available in this view yet.
36030 days
1.6K90 days
8.7K1 year
Compare downloads with other packages →
Also on151 r2u18 autocran1.1K conda_forge33 c2d4u

Repository

Repository
51Stars
10Forks
0Open issues
0Open PRs
13Releases
856Commits
3Contributors
brainieegecogrneuroimagingelectroencephalographymri-braintemplate-brains
856 commits · Last activity 2026-08-13 · +4.1% stars, 30d

Stars over time

2025-07-10 · 472026-08-15 · 51

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/dipterix/threebrain on 2026-08-16.

Continuous integration (2)
GitHub ActionsTravis CI
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (2)
lintrRStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect

Code & Tests

People & History

People (7)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Contributors (3)
Thesis advisor, Contributor, Data contributor · added in 0.1.3
Contributor, res · added in 0.1.3
Contributor, res · added in 0.2.3
Copyright holders (1)
Author, Maintainer, Copyright holder
Other (3)
Thesis advisor · added in 0.2.0
res · added in 0.1.3
res · added in 0.1.3
Package Timeline

18 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.2.0Latest
    2024-11-07 · current release · diff ↗
  • unarchivedReturned to CRAN
    2024-11-07
  • R
    R 4.4.0 released · 2024-04-24
  • archivedRemoved from CRAN
    2024-02-18
    requires archived package 'ravetools' , Also, claims to be the copyright holder of the work of other authors and contributors
  • 1.0.1
    2023-07-03 · diff ↗
  • 1.0.0
    2023-06-04 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.9
    2023-03-14 · diff ↗
  • 0.2.7
    2022-10-16 · diff ↗
  • 0.2.6
    2022-08-25 · diff ↗
  • 0.2.5
    2022-05-30 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.4
    2021-12-03 · diff ↗
  • 0.2.3
    2021-10-13 · diff ↗
Show 12 earlier events
  • 0.2.1
    2021-08-03 · diff ↗
  • 0.2.0
    2021-07-27 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.9
    2021-01-10 · diff ↗
  • 0.1.8
    2020-06-23 · diff ↗
  • 0.1.7
    2020-05-12 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.5
    2020-01-20 · diff ↗
  • 0.1.4
    2019-10-18 · diff ↗
  • 0.1.3
    2019-09-10 · diff ↗
  • 0.1.2
    2019-06-28
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-06-28
Total releases
18 / 7 yrs
License
MPL-2.0 OSI
Download size
1.9 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("threeBrain")
Wang, Z., Beauchamp, M., Li, M., Magnotti, J., Metzger, B., Nesbitt, E., & Zhang, X. (2024). threeBrain: Your Advanced 3D Brain Visualization (Version 1.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.threeBrain

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for threeBrain version 1.2.0 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy