Skip to contents

This function visualizes the integrated results with an interactive network

Usage

visualize_network(
  nodes,
  edges,
  cluster_df = NULL,
  layout = "layout_with_fr",
  seed = 123,
  options_by = "group"
)

Arguments

nodes

network nodes

edges

network edges

cluster_df

(optional) network clusters dataframe generated by the kinograte function

layout

layout option from igraph. default = "layout_with_fr". See full list

seed

(optional) set seed

options_by

(optional) set dropdown menu, "group" or "cluster". Set NULL to remove dropdown menu

Value

visNetwork object