dssp_ts: DSSP timeseries plot for secondary structure elements...

Description Usage Arguments Value Author(s) Examples

View source: R/dssp.R

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

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

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

Example output

Loading required package: MASS
Loading required package: RColorBrewer
Loading required package: gplots

Attaching package: 'gplots'

The following object is masked from 'package:stats':

    lowess

Loading required package: gtools

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

Related to dssp_ts in MDplot...