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

View source: R/grid.sgiHeatmap.R

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

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

`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. |

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.

A grob is returned.

Bernd Fischer

1 2 3 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.