Skip to contents

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 <- createExampleIngresObjectWithViper()
#> Error in createExampleIngresObjectWithViper(): could not find function "createExampleIngresObjectWithViper"
ing <- computePbnBySingleCell(ing)
#> Error in eval_tidy(xs[[j]], mask): object 'ing' not found
cellGenesHeatmap(ing)
#> Error in pivot_longer(., !c(.data$cell, .data$cluster), names_to = "node",     values_to = "p"): object 'ing' not found