powered by
Plot Cliques of a TNA Network
# S3 method for tna_cliques plot( x, n = 6, first = 1, show_loops = FALSE, edge.labels = TRUE, edge.label.position = 0.65, minimum = 0.00001, mar = rep(5, 4), layout = "circle", layout_args = list(), cut = 0.01, normalize = TRUE, ask = TRUE, colors, theme = "colorblind", ... )
NULL (invisibly).
NULL
A tna_cliques object.
tna_cliques
An integer defining the maximum number of cliques to show. The defaults is 6.
integer
6
An integer giving the index of the first clique to show. The default index is 1.
1
A logical value indicating whether to include loops in the plots or not.
logical
See qgraph::qgraph().
qgraph::qgraph()
One of the following:
A character string describing a qgraph layout.
character
qgraph
A matrix of node positions to use, with a row for each node and x and y columns for the node positions.
matrix
x
y
A layout function from igraph.
igraph
A list of arguments to pass to the igraph layout function when layout is a function.
list
layout
A logical value. When TRUE, show plots one by one and asks to plot the next plot in interactive mode.
TRUE
Ignored.
model <- tna(group_regulation) cliq <- cliques(model, size = 2) plot(cliq, n = 1, ask = FALSE)
Run the code above in your browser using DataLab