selChainSlider: Visualize occluded chains with Shiny

View source: R/selChain.R

selChainSliderR Documentation

Visualize occluded chains with Shiny

Description

Function that takes a PDB file and visualizes it with Shiny. It creates a slider for the user to select which chain to view. This function allows user to interact and view occluded protein chains.

Usage

selChainSlider(pdbFile, name)

Arguments

pdbFile

A PDB file, could be downloaded from PDB online

name

the 4-letter PDB codes/identifiers of the PDB file to be visualized.

Value

None - it opens up shiny app with protein structure shown.

References

Chang, W, et al. (2017). Using sliders. Shiny from Rstudio. https://shiny.rstudio.com/articles/sliders.html.

Examples

# Using pdb2 file available with package
#selChainSlider(pdb2, "1SI4")


JerrieFeng/pdbSelectOcclude documentation built on May 12, 2022, 8:07 a.m.