cat.trj | R Documentation |
Function to concatenate two simulations.
cat.trj(trj1, ...)
trj1 |
the first trj file |
... |
additional trj files |
A trj object with the simulations concatenated
Stefano Motta stefano.motta@unimib.it
# Read the simulations
trj1 <- read.trj(trjfile = system.file("extdata", "HIF2a-MD.xtc", package = "SOMMD"),
topfile = system.file("extdata", "HIF2a.gro", package = "SOMMD"))
trj2 <- read.trj(trjfile = system.file("extdata", "HIF2a-MD-2.xtc", package = "SOMMD"),
topfile = system.file("extdata", "HIF2a.gro", package = "SOMMD"))
# Concatenate the simulations
trj <- cat.trj(trj1, trj2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.