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.
Arguments
- ingres.object
An
ingres
object with a non-nullsingle.cell.pbn
slot.
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