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.

Version: 1.5.0
Imports: grDevices, htmlwidgets, magrittr, tools, shiny
Suggests: knitr, webshot, markdown, rmarkdown, colourpicker, testthat (≥ 3.0.0), shinytest2, chromote, withr, pkgload, htmltools, callr
Published: 2026-10-19
DOI: 10.32614/CRAN.package.NGLVieweR
Author: Niels 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)
Maintainer: Niels van der Velden <n.s.j.vandervelden at gmail.com>
BugReports: https://github.com/nvelden/NGLVieweR/issues
License: MIT + file LICENSE
Copyright: See the file inst/COPYRIGHTS for the copyright holders and licenses of the bundled NGL.js library and the code it includes.
NGLVieweR copyright details
URL: https://nvelden.github.io/NGLVieweR/, https://github.com/nvelden/NGLVieweR
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: NGLVieweR results

Documentation:

Reference manual: NGLVieweR.html , NGLVieweR.pdf
Vignettes: NGLVieweR (source, R code)

Downloads:

Package source: NGLVieweR_1.5.0.tar.gz
Windows binaries: r-devel: NGLVieweR_1.4.0.zip, r-release: NGLVieweR_1.4.0.zip, r-oldrel: NGLVieweR_1.4.0.zip
macOS binaries: r-release (arm64): NGLVieweR_1.4.0.tgz, r-oldrel (arm64): NGLVieweR_1.4.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available
Old sources: NGLVieweR archive

Reverse dependencies:

Reverse imports: RiboCrypt

Linking:

Please use the canonical form https://CRAN.R-project.org/package=NGLVieweR to link to this page.