sankey_graph: plot circle graph with communication profile

View source: R/sankey.R

sankey_graphR Documentation

plot circle graph with communication profile

Description

plot circle graph with communication profile

Usage

sankey_graph(
  df,
  axes,
  mycol = NULL,
  nudge_x = NULL,
  font.size = 5,
  boder.col = "black",
  isGrandSon = FALSE,
  set_alpha = 1
)

Arguments

df

a dataframe with five or four columns depending on the parameter isGrandSon

axes

if triple realtion of sankey, set axes=1:3, otherwise bi is 1:2. default 1:3

mycol

a vector of character, denotes the color of each node

nudge_x

a vector of numeric, denotes the horizontal position of each node label

font.size

the font size of node label

boder.col

the color of node border

isGrandSon

If FALSE, the third axe inherits the first two axes and only consider about relation instead of score. otherwise every axe only inherit the first one axes ggtitle and consider about score.

set_alpha

set the alpha of color in the node, a numeric bwtween 0-1.


ShellyCoder/cellcall documentation built on Oct. 11, 2023, 2:50 p.m.