Learn R Programming

MDplot (version 0.3.1)

load_clusters: Loading cluster information

Description

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

Usage

load_clusters( path, names = NA, mdEngine = "GROMOS" )

Arguments

path
Specifies the path of the text input file.
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_example.txt.gz" for format information
load_clusters( system.file( "extdata/clusters_example.txt.gz", package = "MDplot" ) )

Run the code above in your browser using DataLab