Description Usage Arguments Value Author(s) Examples
Plot heatmap of DNA shape features
1 |
shapeMatrix |
A matrix containing DNAshape prediction results. |
nBins |
An integer specifying the number of equally-sized bins in which shape predictions should be aggregated. Summarized predictions can be visualized by setting nBins=1. |
ordRow |
A numeric vector (of the same length as the number of rows of shapeMatrix) defining the permutation of the rows of shapeMatrix to be used for plotting. Default to NULL, i.e. rows are ordered by coefficients of variation. |
useRaster |
Logical, if TRUE a bitmap raster is used to plot the image instead of polygons (see ?graphics::image for details). |
... |
Additional parameters to be passed to the image.plot function (see ?fields::image.plot for details). |
Called for its effects
Federico Comoglio
1 2 3 4 | fn <- system.file("extdata", "CGRsample.fa", package = "DNAshapeR")
pred <- getShape(fn)
library(fields)
heatShape(pred$MGW, 20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.