R语言r3dmol包,m_bio3d()#从包Bio3d加载结构
# Thu Feb 18 00:13:42 2021 -
# 字符编码:UTF-8
# R 版本:R x64 4.0.3 for window 10
# cgh163email@163.com
# 个人笔记不负责任
# —— 拎了个梨🍐✨
rm(list=ls());gc()
.rs.restartR()
require(r3dmol)
?m_bio3d()#从包Bio3d加载结构
library(bio3d)
# #创建bio3d对象
pdb <- read.pdb("1bna")
# 检查bio3d对象
pdb
# 将bio3d对象加载到r3dmol中
r3dmol() %>%
m_add_model(data = m_bio3d(pdb)) %>%
m_zoom_to()
# Thu Feb 18 00:36:15 2021 --