m_remove_all_models {r3dmol} | R Documentation |
Delete all existing models
Description
Delete all existing models
Usage
m_remove_all_models(id)
Arguments
id |
R3dmol |
Value
id R3dmol id
or a r3dmol
object (the output from
r3dmol()
)
Examples
library(r3dmol)
mol <- r3dmol() %>%
m_add_model(data = "data-raw/Conformer3D_CID_5291.sdf", format = "sdf")
# Render model
mol
# Remove all labels
mol %>%
m_remove_all_models()
[Package r3dmol version 0.1.2 Index]