Skip to contents

Plots the probabilities for the identity function produced by computePbnByCluster as a heatmap, with nodes on the x axis and clusters on the y axis, and returns it as a ggplot object.

Usage

clusterGenesHeatmap(ingres.object)

Arguments

ingres.object

An ingres object with a non-null cluster.pbn slot.

Value

A ggplot object containing the cluster PBN heatmap plot.

Examples

ing <- createExampleIngresObjectWithViper()
#> Error in createExampleIngresObjectWithViper(): could not find function "createExampleIngresObjectWithViper"
ing <- computePbnByCluster(ing)
#> Error in eval_tidy(xs[[j]], mask): object 'ing' not found
clusterGenesHeatmap(ing)
#> Error in select(., -2): object 'ing' not found