mplot3_graph | R Documentation |
igraph
networksPlot igraph
networks
mplot3_graph(
net,
vertex.size = 12,
vertex.col = NULL,
vertex.alpha = 0.33,
vertex.label.col = NULL,
vertex.label.alpha = 0.66,
vertex.frame.col = NA,
vertex.label = NULL,
vertex.shape = "circle",
edge.col = NULL,
edge.alpha = 0.2,
edge.curved = 0.35,
edge.width = 2,
layout = c("fr", "dh", "drl", "gem", "graphopt", "kk", "lgl", "mds", "sugiyama"),
coords = NULL,
layout_params = list(),
cluster = NULL,
groups = NULL,
cluster_params = list(),
cluster_mark_groups = TRUE,
mark.col = NULL,
mark.alpha = 0.3,
mark.border = NULL,
mark.border.alpha = 1,
cluster_color_vertices = FALSE,
theme = rtTheme,
theme_extra_args = list(),
palette = rtPalette,
mar = rep(0, 4),
par.reset = TRUE,
filename = NULL,
pdf.width = 6,
pdf.height = 6,
verbose = TRUE,
...
)
net |
|
vertex.size |
Numeric: Vertex size |
vertex.col |
Color for vertices |
vertex.alpha |
Numeric: Transparency for |
vertex.label.col |
Color for vertex labels |
vertex.label.alpha |
Numeric: Transparency for |
vertex.frame.col |
Color for vertex border (frame) |
vertex.label |
Character vector: Vertex labels. Default = NULL, which will keep
existing names in |
vertex.shape |
Character: Vertex shape. See
|
edge.col |
Color for edges |
edge.alpha |
Numeric: Transparency for edges. Default = .2 |
edge.curved |
Numeric: Curvature of edges. Default = .35 |
edge.width |
Numeric: Edge thickness |
layout |
Character: one of: "fr", "dh", "drl", "gem", "graphopt", "kk", "lgl", "mds", "sugiyama", corresponding to all the available layouts in igraph |
coords |
Output of precomputed igraph layout. If provided, |
layout_params |
List of parameters to pass to |
cluster |
Character: one of: "edge_betweenness", "fast_greedy", "infomap", "label_prop", "leading_eigen", "louvain", "optimal", "spinglass", "walktrap", corresponding to all the available igraph clustering functions |
groups |
Output of precomputed igraph clustering. If provided, |
cluster_params |
List of parameters to pass to |
cluster_mark_groups |
Logical: If TRUE, draw polygons to indicate clusters,
if |
mark.col |
Colors, one per group for polygon surrounding cluster. Note: You won't know the number of groups unless they are precomputed. The colors will be recycled as needed. |
mark.alpha |
Float [0, 1]: Transparency for |
mark.border |
Colors, similar to |
mark.border.alpha |
Float [0, 1]: Transparency for |
cluster_color_vertices |
Logical: If TRUE, color vertices by cluster membership. |
theme |
rtemis theme to use |
theme_extra_args |
List of extra arguments to pass to the theme function defined
by |
palette |
Vector of colors, or Character defining a builtin palette -
get options with |
mar |
Numeric vector, length 4: |
par.reset |
Logical: If TRUE, reset par before exiting. |
filename |
Character: If provided, save plot to this filepath |
pdf.width |
Float: Width in inches for pdf output (if |
pdf.height |
Float: Height in inches for pdf output. |
verbose |
Logical, If TRUE, print messages to console. |
... |
Extra arguments to pass to |
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.