Description Usage Arguments Value Note Author(s) References Examples
Two-dimensional projection by Principal Component Analysis
1 | PCAProjection(points3D)
|
points3D |
an N x 3 matrix of the x, y, z coordinates of a polygonal link |
points3D.rot |
an N x 3 matrix containing the x, y, z coordinates of the rotated structure. The first two columns represent the 2D projection of the structure. |
This is a low-level function.
Federico Comoglio, federico.comoglio@bsse.ethz.ch
Comoglio F. and Rinaldi M. A Topological Framework for the Computation of the HOMFLY Polynomial and Its Application to Proteins (2011) PLoS ONE 6(4): e18693, doi:10.1371/journal.pone.0018693 ArXiv:1104.3405
1 2 3 4 5 6 7 8 9 | ## Not run:
protein <- loadProtein('3MDZ')
par(mfrow = c(1,2))
plotDiagram(protein$A, ends = c(), lwd = 2.5, main = 'Original')
protein.rot <- PCAProjection(protein$A)
plotDiagram(protein.rot, ends = c(), lwd = 2.5, main = 'Reduced')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.