Last data update: 2014.03.03
R: DSSP summary plot for secondary structure elements (proteins)
dssp_summary R Documentation
DSSP summary plot for secondary structure elements (proteins)
Description
Plots summary plot for secondary structure motifs based on the output of the widely used classification program DSSP, which takes hydrogen bonds into account. The default order is: "3-Helix", "4-Helix", "5-Helix", "Bend", "Beta-Bridge", "Beta-Strand", "Turn".
Usage
dssp_summary( dsspData,
printLegend = FALSE,
useOwnLegend = FALSE,
elementNames = NA,
colours = NA,
showValues = NA,
showResidues = NA,
plotType = "dots",
selectedElements = NA,
barePlot = FALSE,
... )
Arguments
dsspData
Table containing the information on the secondary structure motifs.
printLegend
If TRUE
, a legend is printed on the right hand side of the plot.
useOwnLegend
If FALSE
, the names of the secondary structure elements are considered to be in default order.
elementNames
Vector of names for the secondary structure elements.
colours
A vector of colours, that can be specified to replace the default ones.
showValues
A vector of boundaries for the values (two elements).
showResidues
A vector of boundaries for the residues (two elements).
plotType
Either "dots
", "curves
" or "bars
".
selectedElements
A vector of names of the elements selected for plotting.
barePlot
Boolean, indicating whether the plot is to be made without any additional information.
...
Additional arguments (ellipsis).
Author(s)
Christian Margreitter
Examples
# see "extdata/dssp_summary_example.txt.gz" for format information
dssp_summary( load_dssp_summary( system.file( "extdata/dssp_summary_example.txt.gz",
package = "MDplot" ) ) )
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(MDplot)
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
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/MDplot/dssp_summary.Rd_%03d_medium.png", width=480, height=480)
> ### Name: dssp_summary
> ### Title: DSSP summary plot for secondary structure elements (proteins)
> ### Aliases: dssp_summary
> ### Keywords: dssp
>
> ### ** Examples
>
> # see "extdata/dssp_summary_example.txt.gz" for format information
> dssp_summary( load_dssp_summary( system.file( "extdata/dssp_summary_example.txt.gz",
+ package = "MDplot" ) ) )
3-Helix 4-Helix 5-Helix Turn B-Strand B-Bridge Bend
[1,] 0.0 0.0 0.0 0.0 0.0 0.0 0.0
[2,] 0.0 0.0 0.0 0.0 0.0 0.3 0.0
[3,] 0.0 0.0 0.0 0.0 0.0 0.0 1.7
[4,] 0.0 0.0 0.0 0.0 0.0 37.1 4.5
[5,] 0.0 0.0 0.0 0.0 0.0 0.0 4.3
[6,] 0.0 0.0 0.0 0.0 0.0 0.0 0.0
[7,] 0.0 0.0 0.0 0.0 97.6 0.0 0.0
[8,] 0.0 0.0 0.0 0.0 99.8 0.0 0.0
[9,] 0.0 0.0 0.0 0.0 99.9 0.0 0.0
[10,] 0.0 0.0 0.0 0.0 92.3 0.0 0.0
[11,] 0.0 0.0 0.0 0.0 69.5 0.0 0.0
[12,] 0.0 0.0 0.0 0.0 0.0 0.0 0.1
[13,] 0.0 0.0 0.0 0.0 0.0 0.0 0.0
[14,] 0.0 0.0 0.0 98.8 0.0 0.0 0.0
[15,] 2.4 79.6 0.0 2.3 0.0 0.0 15.8
[16,] 4.3 79.8 0.0 14.8 0.0 0.0 1.1
[17,] 16.1 79.8 0.0 1.0 0.0 0.0 3.1
[18,] 15.6 79.8 0.0 0.0 0.0 0.0 4.5
[19,] 20.7 43.5 0.0 0.0 0.0 0.0 35.6
[20,] 0.0 0.0 0.0 0.5 0.0 0.0 99.1
[21,] 0.0 0.0 0.0 0.0 0.0 0.0 100.0
[22,] 0.0 0.0 0.0 0.0 87.8 4.1 6.7
[23,] 0.0 0.0 0.0 0.0 95.0 0.0 0.0
[24,] 0.0 0.0 0.0 0.0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