Learn R Programming

MDplot (version 0.2)

rmsf: Root-mean-square-fluctuation plot

Description

Plot one (or more) rmsf files as produced by molecular dynamics packages.

Usage

rmsf( rmsfData,
      printLegend = TRUE,
      rmsfUnit = "nm",
      colours = NA,
      residuewise = FALSE,
      numberXLabels = 7,
      names = NA,
      range = NA,
      barePlot = FALSE,
      ... )

Arguments

rmsfData
List of (alterating) atom numbers and rmsf values, as also produced by MDplot::load_rmsf() for example.
printLegend
Boolean, which triggers plotting of the legend.
rmsfUnit
Specifies, which unit the y-axis is given in.
colours
Vector of colours used for plotting.
residuewise
Boolean, specifying whether atoms or residues are plotted on the x-axis.
numberXLabels
Specifies, how many ticks are used on the x-axis.
names
Vector of the names of the trajectories.
range
Range of residues to be plotted.
barePlot
Boolean, indicating whether the plot is to be made without any additional information.
...
Additional arguments (ellipsis).

Examples

Run this code
# two curves
rmsf( load_rmsf( c( system.file( "extdata/rmsf1_example.txt.gz", package = "MDplot" ),
                    system.file( "extdata/rmsf2_example.txt.gz", package = "MDplot" ) ) ) )

Run the code above in your browser using DataLab