Description Usage Arguments Value Examples

Plot ecological network organized by trophic level, with node size determined by the node degree, and modules.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 |

`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

1 | ```
plot_troph_level(netData[[1]])
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.