dssp_ts {MDplot}R Documentation

DSSP timeseries plot for secondary structure elements (proteins)

Description

Plots time-series for secondary structure motifs in the context of the widely used DSSP algorithm. The default order is: "3-Helix", "4-Helix", "5-Helix", "Bend", "Beta-Bridge", "Beta-Strand", "Turn".

Usage

dssp_ts( tsData,
         printLegend = TRUE,
         timeBoundaries = NA,
         residueBoundaries = NA,
         timeUnit = NA,
         snapshotsPerTimeInt = 1000,
         barScaleFactor = 0.25,
         barePlot = FALSE,
         ... )

Arguments

tsData

List consisting of lists, which are composed of a name (string) and a values table (x ... snapshots, y ... residues). Can be generated by load_dssp_ts().

printLegend

If TRUE, a legend is printed on the right hand side of the plot.

timeBoundaries

A vector of boundaries for the time in snapshots.

residueBoundaries

A vector of boundaries for the residues.

timeUnit

If set, the snapshots are transformed into the respective time (depending on parameter snapshotsPerTime).

snapshotsPerTimeInt

Number of snapshots per respective timeUnit (only used when timeUnit is set).

barScaleFactor

Allows to manually overwrite the height of the bars.

barePlot

Boolean, indicating whether the plot is to be made without any additional information.

...

Additional arguments (ellipsis).

Value

This function does not return data.

Author(s)

Christian Margreitter

Examples

# GROMOS (see load_dssp_ts() for other input possibilities)
dssp_ts( load_dssp_ts( system.file( "extdata/dssp_ts_example",
                                    package = "MDplot" ) ) )

[Package MDplot version 1.0.1 Index]