plot.tna_communities {tna} | R Documentation |
Plot Communities
Description
This function visualizes the communities detected within a tna
object
based on different community detection algorithms and their corresponding
color mappings.
Usage
## S3 method for class 'tna_communities'
plot(x, colors, method = "spinglass", ...)
Arguments
x |
A |
colors |
A |
method |
A |
... |
Additional arguments passed to |
Value
A qgraph
object in which the nodes are colored by community.
See Also
Community detection functions
communities()
,
plot.group_tna_communities()
,
print.group_tna_communities()
,
print.tna_communities()
Examples
model <- tna(group_regulation)
comm <- communities(model)
plot(comm, method = "leading_eigen")
[Package tna version 1.0.0 Index]