plot_troph_level | R Documentation |
Plot ecological network organized by trophic level, with node size determined by the node degree, and modules.
plot_troph_level(
g,
vertexLabel = FALSE,
vertexSizeFactor = 5,
vertexSizeMin = 5,
tk = FALSE,
modules = FALSE,
lMat = NULL,
weights = NA,
community_obj = NULL,
bpal = NULL,
maxTL = NULL,
...
)
vertexLabel |
logical plot vertex labels |
vertexSizeFactor |
numeric factor to determine the size of the label with degree |
vertexSizeMin |
numeric determine the minimum size of the label |
tk |
TRUE generate an interactive plot using tkplot and returns a matrix with coordinates from |
modules |
if TRUE plot modules in the x axis, obtained with the cluster spinglass algorithm |
lMat |
Matrix of postions for the nodes |
weights |
The weights of the edges for the |
community_obj |
Insteado of calculating modules/communities with cluster spinglass take a community object |
bpal |
if NULL it uses the "RdYlGn" RColorBrewer palette, else must be a vector of colors of length 11. |
maxTL |
maximum trophic level to draw y-axis |
... |
Addittional parameters to the plot function |
ig |
igraph object |
returns a plot and if tk==TRUE returns a layout matrix
plot_troph_level(netData[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.