Learn R Programming

ingres (version 1.0.0)

clusterGenesHeatmap: Plot a cluster heatmap

Description

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)

Value

A ggplot object containing the cluster PBN heatmap plot.

Arguments

ingres.object

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

Examples

Run this code
# Create an ingres object with viper slot
ing = createIngresObjectFromSeurat(
  small_blca_wang, "RNA", "data", network_genes, network
)
ing@viper = viper_results

ing = computePbnByCluster(ing)
clusterGenesHeatmap(ing)

Run the code above in your browser using DataLab