grid.sgiHeatmap: A heatmap grob

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/grid.sgiHeatmap.R

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)

RNAinteract documentation built on Nov. 8, 2020, 5:28 p.m.