Learn R Programming

MDplot (version 0.3.1)

load_clusters_ts: Loading timeseries cluster information

Description

This function loads the timeseries information for clusters from a plain text file and stores them in a list. The trajectories can be named by the user.

Usage

load_clusters_ts( path, lengths, names = NA, mdEngine = "GROMOS" )

Arguments

path
Specified the path of the text input file.
lengths
Mandatory vector holding the number of snapshots for the respective trajectories.
names
Optional vector of trajectory names. Needs to be of the same length as the number of clusters to be plotted.
mdEngine
Argument introduced for distinction between input formats based on the used molecular dynamics engine (to be implemented).

Examples

Run this code
# see "extdata/clusters_ts_example.txt.gz" for format information
load_clusters_ts( system.file( "extdata/clusters_ts_example.txt.gz", package = "MDplot" ),
                  lengths = c( 4000, 4000, 4000, 4000, 4000, 4000 ) )

Run the code above in your browser using DataLab