Skip to contents

Plots the PBN produced by computePbnByCluster for a given cluster and returns it as a ggplot object

Usage

clusterPbnPlot(ingres.object, cluster.id)

Arguments

ingres.object

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

cluster.id

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

Value

A ggplot object containing the cluster PBN plot.

Examples

createExampleIngresObjectWithViper
#> Error in eval(expr, envir, enclos): object 'createExampleIngresObjectWithViper' not found
ing <- computePbnByCluster(ing)
#> Error in eval_tidy(xs[[j]], mask): object 'ing' not found
clusterPbnPlot(ing, "1")
#> Error in filter(., .data$cluster == cluster.id): object 'ing' not found