powered by
Convert the trj coordinates 3D-array in a 2D matrix.
trj2xyz(trj, inds = NULL)
a xyz matrix with frames on rows and coordinates as columns
an object with class trj
indices for the output coordinates
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)
Run the code above in your browser using DataLab