plotDynamic: plotDynamic

View source: R/compareWordNet.R

plotDynamicR Documentation

plotDynamic

Description

List network of words using graphlayouts::layout_as_dynamic

Usage

plotDynamic(
  listOfNets,
  concat = "union",
  alpha = 0.5,
  titles = NULL,
  tag = FALSE,
  useDynamic = TRUE
)

Arguments

listOfNets

list consisting results of wc* functions (plotType="network")

concat

"union" or "intersection"

alpha

pass to layout_as_dynamic

titles

title to be shown on plot

tag

show tag on plot

useDynamic

use layout_as_dynamic

Details

The function accepts the list of biotext object storing inferred networks. The networks are aligned by the specific layout and plotted.

Value

plot comparing gene clusters

Examples

library(igraph)
wc1 <- refseq(c("DDX41","IRF3","XRCC1","ERCC1","ERCC2","ERCC3"), plotType="network")
wc2 <- refseq(c("DDX41","PNKP","XRCC1","COPA","CD4","NLRP3"), plotType="network")
compare <- plotDynamic(list(wc1, wc2))

noriakis/wcGeneSummary documentation built on April 22, 2024, 7:12 a.m.