Skip to contents

Plot GRN as network graph

Usage

plot_network_graph(
  links,
  cluster,
  top_n = 50,
  layout = "fr",
  node_size_by = "degree",
  title = NULL
)

Arguments

Links object

cluster

Cluster to plot

top_n

Number of top edges to show

layout

Layout algorithm: "fr", "kk", "circle", "star"

node_size_by

Size nodes by: "degree", "betweenness", "fixed"

title

Plot title

Value

ggplot object (requires ggraph)