plotNET_groupColour | R Documentation |
Identify Vertex and/or Edge groups by colour.
plotNET_groupColour(
g,
groups = NULL,
colourV = TRUE,
alphaV = 1,
colourE = FALSE,
alphaE = 0.8,
groupColours = NULL,
defaultEdgeColour = "grey70",
doPlot = TRUE,
returnPlot = FALSE
)
g |
An igraph object |
groups |
A named numeric vector with |
colourV |
Colour Vertices based on |
alphaV |
Set transparency for Vertices (default = |
colourE |
Colour Edges based on |
alphaE |
Set transparency for Edges. A single numeric, or a vector of length |
groupColours |
A list of length |
defaultEdgeColour |
Default edge colour |
doPlot |
Plot the igraph object |
returnPlot |
return the ggplot2 object |
An igraph object with vertices and/or edges coloured by groups listed in groups
Other tools for plotting networks:
plotNET_BA()
,
plotNET_SW()
,
plotNET_groupWeight()
,
plotNET_prep()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.