3D representation of PCA conformer plot

Issue #629 resolved
Akash Pandya created an issue

Hi,

I was wondering if it is possible to create a 3D representation of the PCA conformer plots in Bio3d 2.3?

Thanks,

Akash

Comments (2)

  1. Xinqiu Yao

    Do you mean the projection of structures in the PC subspace? You can do it with the plot3d() function from the rgl package. For example,

    library(rgl)
    library(bio3d)
    ...
    pc <- pca(xyz)
    plot3d(pc$z[, 1], pc$z[, 2], pc$z[, 3])
    
  2. Log in to comment