Your Advanced 3D Brain Visualization
R6 Class - Abstract Class of Geometries
A geometry that renders nothing
Shiny Proxy for Viewer
Setup Package, Install Environment
Calculate rotation matrix from non-zero vectors
Function to check whether FreeSurfer
folder has everything we need
Conform imaging data in 'FreeSurfer'
way
Create a geometry group containing multiple geometries
Calculate cross-product of two vectors in '3D'
R6 Class - Generate Data Cube Geometry
R6 Class - Generate Data Cube Geometry via 3D Volume Texture
Default Directory to Store Template Brain
R6 Class - Generate Geometry from Vertices and Face Indices
Read FreeSurfer
surface and volume files
Query the 'FreeSurfer' labels
Generate smooth envelope around surface
Approximate 'sub-cortical' surfaces from 'parcellation'
Creates any mesh geometry given vertices and face indices
Create sphere geometry
R6 Class - Generate Group of Geometries
Function to read digest header
Get 'voxel' to world matrix
Import from FreeSurfer
and create JSON
cache for 3D viewer
Import 'FreeSurfer' or 'SUMA' files into the viewer structure
R6 Class - Generate Line Segments
List or load all electrode prototypes
Launch a 'shiny' application to localize electrodes
Create Multi-subject Template
Create or load new electrode prototype from existing configurations
Plot slices of volume
Read FreeSurfer
ascii file
Read FreeSurfer Annotations
Read FreeSurfer
m3z file
Read FreeSurfer
mgz/mgh
file
Function to load surface data from Gifti
files
Function to load FreeSurfer
mgz/mgh
file
Read volume file in 'MGH'
or 'Nifti'
formats
Objects exported from other packages
Shiny Renderer for threeBrain Widgets
Function to reshape data to RAS
order
Save threeBrain widgets to local file system
Create 'sEEG'
shaft geometry prototype
R6 Class - Generate Sphere Geometry
R6 Class - Generate Sphere Geometry
Download and Manage Template Subjects
Create a brain object
Create a Threejs Brain and View it in Browsers
Shiny Output for threeBrain Widgets
R6 Class - Generate Tube Geometry
Add video content to the viewer
Generate surface file from 'nii'
or 'mgz'
volume files
Color maps for volume or surface data
Generate volume data from 'MNI' coordinates
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.
Useful links