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 |

`vertexLabel` |
logical plot vertex labels |

`vertexSizeFactor` |
numeric factor to determine the size of the label with degree |

`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 |

`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 |

`edge.width` |
if NULL edge width is fixed in 0.3, if numberic takes into account edge weights multiplied by this value to draw edge widths, the parameter weights determine the behavior. |

`...` |
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.