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 = 1e-05,
mar = rep(5, 4),
layout = "circle",
layout_args = list(),
cut = 0.01,
normalize = TRUE,
ask = TRUE,
colors,
theme = "colorblind",
...
)
NULL
(invisibly).
A tna_cliques
object.
An integer
defining the maximum number of cliques to show.
The defaults is 6
.
An integer
giving the index of the first clique to show.
The default index is 1
.
A logical
value indicating whether to include loops
in the plots or not.
See qgraph::qgraph()
.
See qgraph::qgraph()
.
See qgraph::qgraph()
.
See qgraph::qgraph()
.
One of the following:
A character
string describing a qgraph
layout (e.g., "circle"
)
or the name of a igraph
layout function (e.g., "layout_on_grid"
).
A matrix
of node positions to use, with a row for each node and
x
and y
columns for the node positions.
A layout function from igraph
.
A list
of arguments to pass to the igraph
layout
function when layout
is a function or a character string that specifies
a function name.
See qgraph::qgraph()
.
See qgraph::qgraph()
.
A logical
value. When TRUE
, show plots one by one and asks
to plot the next plot in interactive mode.
See qgraph::qgraph()
.
See qgraph::qgraph()
.
Ignored.
Clique-related functions
cliques()
,
plot.group_tna_cliques()
,
print.group_tna_cliques()
,
print.tna_cliques()
model <- tna(group_regulation)
cliq <- cliques(model, size = 2)
plot(cliq, n = 1, ask = FALSE)
Run the code above in your browser using DataLab