m_add_isosurface: Construct isosurface from volumetric data in gaussian cube...

Description Usage Arguments Value Examples

View source: R/add.R

Description

Construct isosurface from volumetric data in gaussian cube format

Usage

1
m_add_isosurface(id, data, isoSpec)

Arguments

id

R3dmol id or a r3dmol object (the output from r3dmol())

data

Path of input data path or a vector of data.

isoSpec

Volumetric data shape specification

Value

R3dmol id or a r3dmol object (the output from r3dmol())

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
library(r3dmol)

r3dmol() %>%
  m_add_isosurface(
    data = cube_benzene_homo,
    isoSpec = list(
      isoval = -0.01,
      color = "red",
      opacity = 0.95
    )
  ) %>%
  m_zoom_to()

r3dmol documentation built on March 14, 2021, 5:08 p.m.