Skip to contents

Draws the edges belonging to significant NBS components on a circular node layout.

Usage

plotNBSnetwork(
  result,
  alpha = NULL,
  node_labels = NULL,
  title = "NBS subnetwork"
)

Arguments

result

A result from networkBasedStatistic().

alpha

Significance level for the components to draw (default: uses the value stored in result).

node_labels

Optional character node labels.

title

Plot title.

Value

A ggplot object.

Examples

if (FALSE) { # \dontrun{
plotNBSnetwork(networkBasedStatistic(g1, g2))
} # }