load_rmsf {MDplot}R Documentation

Loading function for rmsf()

Description

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

Usage

load_rmsf( 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".

Value

A list of vectors, alternately holding atom indices and their respective values.

Author(s)

Christian Margreitter

Examples

# GROMOS
load_rmsf( c( system.file( "extdata/rmsf_example_1.txt.gz", package = "MDplot" ),
              system.file( "extdata/rmsf_example_2.txt.gz", package = "MDplot" ) ) )

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

# AMBER
load_rmsf( c( system.file( "extdata/rmsf_example_AMBER.txt.gz",
                           package = "MDplot" ) ),
          mdEngine = "AMBER" )

[Package MDplot version 1.0.1 Index]