load_timeseries {MDplot}R Documentation

Loading function for timeseries()

Description

Returns a list of vector pairs of datapoint indices and values.

Usage

load_timeseries( files,
                 mdEngine = "GROMOS" )

Arguments

files

Vector of paths to input text files.

mdEngine

Argument distinguishes between input formats based on the molecular dynamics engine used. Currently available: "GROMOS", "GROMACS" and "AMBER". Note, that for GROMACS input, mulit-column data is supported.

Value

List of vectors, holding alternately indices and values.

Author(s)

Christian Margreitter

Examples

# GROMOS
load_timeseries( c( system.file( "extdata/timeseries_example_1.txt.gz",
                                 package = "MDplot" ),
                    system.file( "extdata/timeseries_example_2.txt.gz",
                                 package = "MDplot" ) ) )

# GROMACS
load_timeseries( c( system.file( "extdata/timeseries_example_GROMACS.txt.gz",
                                 package = "MDplot" ) ),
                 mdEngine = "GROMACS" )

[Package MDplot version 1.0.1 Index]