A heatmap grob

Description

A grob is created and printed for a matrix PI which is intended to represent pairwise interaction scores.

Usage

1
2
grid.sgiHeatmap(PI, pi.max = NULL, main = expression(paste(pi, "-score")), 
		hc.row = NULL, hc.col = NULL)

Arguments

PI

A matrix of pairwise interactions.

pi.max

The interaction score at the top end of the colorbar. pairwise interaction score larger than this value can not be distinguished anymore.

main

A title for the plot.

hc.row

An hierarchical clustering as produced by hclust of the rows.

hc.col

Clustering of the columns.

Details

A heatmap is plotted with positive interaction represented in yellow and negative interactions represented in blue. A colorbar is plotted on the left and dendrograms are added. This function can be used to integrate the plot in other grid objects. It is recommended to use the function plotHeatmap to plot heatmaps of an RNAinteract object.

Value

A grob is returned.

Author(s)

Bernd Fischer

See Also

RNAinteract-package

Examples

1
2
3
data("sgi")
PI = getData(sgi, type="pi", format="targetMatrix", screen="1", channel="nrCells")
grid.sgiHeatmap(PI)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.