Skip to contents

Plots the PBN produced by computePbnBySingleCell for a given cell and returns it as a ggplot object

Usage

cellPbnPlot(ingres.object, cell.id)

Arguments

ingres.object

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

cell.id

A string containing the id of the cell to be plotted.

Value

A ggplot object containing the cell PBN plot.

Examples

createExampleIngresObjectWithViper
#> Error in eval(expr, envir, enclos): object 'createExampleIngresObjectWithViper' not found
ing <- computePbnBySingleCell(ing)
#> Error in eval_tidy(xs[[j]], mask): object 'ing' not found
cellPbnPlot(ing, "sample1@ACAGCTAAGATCCCGC-1")
#> Error in filter(., .data$cell == cell.id): object 'ing' not found