hphobScale | R Documentation |
Function that takes a PDB file and visualizes it as a 3D model. The user to select on a scale to view hydrophobicity. Uses Kyte & Doolittle scale.
hphobScale(polarity)
polarity |
Enter 'nonpolar' to select all nonpolar AA, 'polar' to select all polar/uncharged AA, 'positive' to select all positively charged AA, 'negative' to select all negatively charged AA. Make sure to add quotation marks. |
pdbFile |
A PDB file, could be downloaded from PDB online |
name |
the 4-letter PDB codes/identifiers of the PDB file to be visualized. |
Displays the 3D model of the protein with the selected hydrophobicity.
Yao, X., G. Scarabelli, L. Skjaerven, and B. Grant (2020). Protein Structure Networks with Bio3D. bio3D. http://thegrantlab.org/bio3d/articles/online/cna_vignette/cna_vignette.spin.html#references-1.
McFadden, W.M. (2020). Charge and Hydropathy Vignette. https://rdrr.io/bioc/idpr/f/vignettes/chargeHydropathy-vignette.Rmd.
# Using pdb file available with package # ?idpr #selHphob("polar", pdb, "1bm8")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.