nice_DAG_plot: nice_DAG_plot

View source: R/visualisation.R

nice_DAG_plotR Documentation

nice_DAG_plot

Description

DAG visualization

Usage

nice_DAG_plot(
  my_DAG,
  print_direct = TRUE,
  node_size = NULL,
  CPDAG = TRUE,
  node_colours = "#fdae61",
  directed = TRUE
)

Arguments

my_DAG

DAG

print_direct

print DAG if TRUE

node_size

node size vector

CPDAG

if TRUE, then plot CPDAG instead of DAG

node_colours

node colours

directed

TRUE if nodes should be directed

Value

A plot of the DAG of class c("gg", "ggplot").


clustNet documentation built on May 29, 2024, 12:13 p.m.