Learn R Programming

MDplot (version 0.2)

dssp_ts: 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,
         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 MDplot::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 (two elements).
residueBoundaries
A vector of boundaries for the residues (two elements).
timeUnit
If set, the snapshots are transformed into the respective time (in dependence of parameter snapshotsPerTime.
snapshotsPerTimeInt
Number of snapshots per respective timeUnit.
barePlot
Boolean, indicating whether the plot is to be made without any additional information.
...
Additional arguments (ellipsis).

Examples

Run this code
dssp_ts( load_dssp_ts( system.file( "extdata", package = "MDplot" ) ) )

Run the code above in your browser using DataLab