Learn R Programming

RNAinteract (version 1.20.0)

plotHeatmap: plots a heatmap for an interaction screen.

Description

A heatmap of an interaction screen is plotted.

Usage

plotHeatmap(sgi, screen, channel, pi.max = NULL, main = expression(paste(pi, "-score")), hc.row = NULL, hc.col = NULL, withoutgroups = c("neg", "pos"))

Arguments

sgi
An object of class RNAinteract
screen
The screen name of which the interaction matrix is plotted.
channel
The channel name of which the interaction matrix is plotted.
pi.max
The pairwise interaction score that is represented at the top of the color scale. All interaction scores above this value can not be distinguished any more.
main
The title of the plot.
hc.row
A hierarchical clustering (hclust) for the rows.
hc.col
A hierarchical clustering (hclust) for the columns.
withoutgroups
The genes within this group are not shown in the heatmap. It is convinient to hide screen controls in the heatmap.

Value

Details

A heatmap for one screen and one channel is plotted. Positive interactions are marked blue, negative ones are marked yellow. A colorbar is shown on the left hand side.

See Also

RNAinteract-package

Examples

Run this code
data("sgi")
plotHeatmap(sgi, screen="1", channel="nrCells")

Run the code above in your browser using DataLab