category-item network plot
cnetplot(
x,
layout = igraph::layout_nicely,
showCategory = 5,
color_category = "#E5C494",
size_category = 1,
color_item = "#B3B3B3",
size_item = 1,
color_edge = "grey",
size_edge = 0.5,
node_label = "all",
foldChange = NULL,
hilight = "none",
hilight_alpha = 0.3,
...
)# S3 method for list
cnetplot(
x,
layout = igraph::layout_nicely,
showCategory = 5,
color_category = "#E5C494",
size_category = 1,
color_item = "#B3B3B3",
size_item = 1,
color_edge = "grey",
size_edge = 0.5,
node_label = "all",
foldChange = NULL,
hilight = "none",
hilight_alpha = 0.3,
...
)
input object
network layout
selected category to be displayed
color of category node
relative size of the category
color of item node
relative size of the item (e.g., genes)
color of edge, e.g., "black". If color = "category"
, then edges will be colored based on the category information.
relative size of edge
one of 'all', 'none', 'category', 'item', 'exclusive' or 'share'
numeric values to color the item (e.g, foldChange of gene expression values)
selected category to be highlighted
transparent value for not selected to be highlight
additional parameters