Skip to content

Overestimating trophic similarity? #43

@rfrelat

Description

@rfrelat

I was trying to understand the Jaccard similarity that is computed by the function TrophicSimilarity(). I realised that 'c', the number of resources and consumers common to both nodes could be the prey of one species, and the predator of the other species.

For instance, using the ChesapeakeBay dataset, the trophic similarity between Phytoplankton (#1) and Clupeidae (#21) is 0.125. While in the food web, the two species don't have any prey in common (no prey for Phytoplankton, while Clupeidae prey on Zooplankton) and they don't share any predators (the only predator for Clupeidae is Morone saxatilis, Phytoplankton has 7 predators - Microzooplankton, Zooplankton, Other suspension feeders, Mya, Crassostrea virginica, Anchoa mitchilli, Brevoortia tyrannus.

data("ChesapeakeBay")
Sim <- TrophicSimilarity(ChesapeakeBay)
Sim[1,21] #0.125

In the calculation of similarity, the number of common prey and predator is equal to 1 (because Zooplankton is a predator of Phytoplankton and a prey for Clupeidae).

I am not sure it is an issue (the calculation is correct and correspond to the formula explained in the documentation), but the formula doesn't feel right from an ecological point of view. I would recommend to calculate separately the number of common prey and the number of common predators. But maybe I misunderstood the original calculation from Neo Martinez and this issue can be closed without any modifications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions