NGLVieweR: Interactive 3D Visualization of Molecular Structures

Provides an 'htmlwidgets' <https://www.htmlwidgets.org/> interface to 'NGL.js' <https://nglviewer.org/ngl/api/>. 'NGLVieweR' can be used to visualize and interact with protein databank ('PDB') and structural files in R and Shiny applications. It includes a set of API functions to manipulate the viewer after creation in Shiny.

Package details

AuthorNiels van der Velden [aut, cre], Alexander Rose [cph] (NGL.js library), three.js authors [cph] (three.js library, bundled in NGL.js), Mol* contributors [cph] (Mol* library, bundled in NGL.js), Gregor Aisch [cph] (chroma.js library, bundled in NGL.js), Cynthia Brewer [cph] (ColorBrewer colors in chroma.js), Mark Harrower [cph] (ColorBrewer colors in chroma.js), The Pennsylvania State University [cph] (ColorBrewer colors in chroma.js), Alexandru Mărășteanu [cph] (sprintf.js library, bundled in NGL.js), Miller Medeiros [cph] (JS Signals library, bundled in NGL.js), Microsoft Corporation [cph] (tslib library, bundled in NGL.js), Vitaly Puzrin [cph] (pako code in NGL.js), Jean-loup Gailly [cph] (zlib code ported in pako), Mark Adler [cph] (zlib code ported in pako), Daniel Lemire [cph] (FastBitSet.js code in NGL.js), Gregg Tavares [cph] (webgl-utils.js code in NGL.js)
MaintainerNiels van der Velden <n.s.j.vandervelden@gmail.com>
LicenseMIT + file LICENSE
Version1.5.0
URL https://nvelden.github.io/NGLVieweR/  https://github.com/nvelden/NGLVieweR 
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("NGLVieweR")

Try the NGLVieweR package in your browser

Any scripts or data that you put into this service are public.

NGLVieweR documentation built on Oct. 20, 2026, 1:07 a.m.