cellGenesHeatmap: Plot a cell heatmap

View source: R/plotting.R

cellGenesHeatmapR Documentation

Plot a cell heatmap

Description

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

Usage

cellGenesHeatmap(ingres.object)

Arguments

ingres.object

An ingres object with a non-null single.cell.pbn slot.

Value

A ggplot object containing the cell 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 = computePbnBySingleCell(ing)
cellGenesHeatmap(ing)


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