classify_topological_roles: Classify and plot topological roles

Description Usage Arguments Value References Examples

View source: R/calcTopologicalIndices.r

Description

We use the topological roles calculated with calc_topological_roles() and categorize them following the approach of Kortsch (2015), that defines species roles based in two thresholds PC=0.625 and dz=2.5. If a species had at least 60 classified as a module hub, labeled modhub. If a species had PC<0.625 and dz<2.5, then it was called a peripheral or specialist, labeled modspe. Species that had PC≥0.625 and dz<2.5 were considered module connectors modcon. Finally, if a species had PC≥0.625 and dz≥ 2.5, then it was classified as a super-generalist or hub-connector hubcon.

Usage

1
classify_topological_roles(tRoles, g, spingB = NULL, plt = FALSE)

Arguments

tRoles

Calculated topological roles with the function calc_topological_roles()

g

Igraph network object

spingB

Igraph community object

plt

logical whether a plot is generated

Value

a data.frame with the classified topological roles

References

  1. Kortsch, S., Primicerio, R., Fossheim, M., Dolgov, A. V & Aschan, M. (2015). Climate change alters the structure of arctic marine food webs due to poleward shifts of boreal generalists. Proc. R. Soc. B Biol. Sci., 282

  2. Saravia, L.A., Marina, T.I., De Troch, M. & Momo, F.R. (2018). Ecological Network assembly: how the regional meta web influence local food webs. bioRxiv, 340430, doi: https://doi.org/10.1101/340430

Examples

1
2
3
4
5
6
7
8
9
## Not run: 

g <- netData[[2]]

tp <- calc_topological_roles(g,nsim=10)

classify_topological_roles(tp,g,plt=TRUE)

## End(Not run)

lsaravia/EcoNetwork documentation built on Oct. 26, 2020, 11:09 p.m.