load_timeseries: Loading function for 'timeseries()'

Description Usage Arguments Value Author(s) Examples

View source: R/timeseries.R

Description

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

Usage

1
2
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# 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" )

MDplot documentation built on May 2, 2019, 7:02 a.m.