| trj2xyz | R Documentation | 
Convert the trj coordinates 3D-array in a 2D matrix.
trj2xyz(trj, inds = NULL)
| trj | an object with class trj | 
| inds | indices for the output coordinates | 
a xyz matrix with frames on rows and coordinates as columns
Stefano Motta stefano.motta@unimib.it
#Read trajectory
trj <- read.trj(trjfile = system.file("extdata", "HIF2a-MD.xtc", package = "SOMMD"),
  topfile = system.file("extdata", "HIF2a.gro", package = "SOMMD"))
trj2xyz(trj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.