clusterGenesHeatmap: Plot a cluster heatmap

View source: R/plotting.R

clusterGenesHeatmapR Documentation

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)

Arguments

ingres.object

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

Value

A ggplot object containing the cluster PBN heatmap plot.

Examples

# 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)


ingres documentation built on Sept. 14, 2022, 9:05 a.m.