- Provide more enhancement functions with
m_button_*()
(#38). See Using Buttons in{r3dmol}
for more details. - Add
colorfunc
argument tom_style_sphere()
,m_style_ballnstick()
andm_style_stick()
(#47).
- Fix the incorrect layout of
m_button()
in the rmarkdown (#31). - Fix
colorScheme="default"
overriding user-specified colors (#34) - Fix the bug that surface cannot be rendered correctly when using
m_png()
withm_add_surface()
at the same time, and optimize the default image size setting ofm_png()
(#35). - Fix grid layout dose not update in Shiny app (#42, #44)
- Upgrade 3dmol.js dependency to v1.7.0 (#43).
- Add
m_button()
function to support adding custom features in the viewer, such as switching the style of the model, etc (#29). - Add
m_png()
to support convert widget to png (#27). - Add
m_grid()
to support multiple viewers (#25). - Quickly look at structures with
m_glimpse()
. Initializes the viewer with a range of useful defaults. Allows for quickly visually inspecting the structure and further customization of the viewer to speed up setup. - Add multiple lines and cylinders in one function call are supported (#17). Refer to this article for more information.
- Add
speed
option form_spin()
and option forkeepH
inm_add_model()
(#13).
- Add logo for
{r3dmol}
(#16). - Function
m_set_view_style()
is deprecated and replaced bym_add_outline()
. - Upgrade
3Dmol.js
to the latest version (v1.6.2) (#12).
- Introduce new friendly functions for addition of styles, and selection algebra. New functions for adding model from
{bio3d}
and fetching model from RCSB PDB (#6).
- Added a
NEWS.md
file to track changes to the package. - Main functions of
3Dmol.js
are now available inRmarkdown
andshiny
.