Learn R Programming

MDplot (version 0.3.1)

xrmsd: XRMSD plot in heatmap style

Description

Plots an heatmap according to the RMSD values for a 2D snapshot matrix, based on molecular dynamics trajectories.

Usage

xrmsd( xrmsdValues, printLegend = TRUE, xaxisRange = NA, yaxisRange = NA, colours = NA, barePlot = FALSE, ... )

Arguments

xrmsdValues
Input matrix (three rows: x-values, y-values, RMSD-value). Can be generated by function load_xrmsd().
printLegend
If TRUE, a legend is printed on the right hand side of the plot.
xaxisRange
A vector of boundaries for the x-snapshots.
yaxisRange
A vector of boundaries for the y-snapshots.
colours
A vector with colour names for the span palette.
barePlot
Boolean, indicating whether the plot is to be made without any additional information.
...
Additional arguments (ellipsis).

Examples

Run this code
## Not run: 
# # see "extdata/xrmsd_example.txt.gz" for format information
# xrmsd( load_xrmsd( system.file( "extdata/xrmsd_example.txt.gz", package = "MDplot" ) ) )
# ## End(Not run)

Run the code above in your browser using DataLab