networkBetaOS: Calculate turnover in predicted species interaction networks

Description Usage Arguments Details Value References See Also

View source: R/networkBetaOS.R

Description

This function takes a network based on predicted species' interactions and returns the beta diversity metric B'os, defined by Poisot et al. 2012. Please note, this function was adapted from code provided by Timothee Poisot in the betalink package. For details, see beta_os_prime

Usage

1
networkBetaOS(adjacency_list, n_cores)

Arguments

adjacency_list

The input data should be a list of graph.adjacency matrices, ideally as returned by predict_MRFnetworks using metric == 'adjacency'

n_cores

Positive integer stating the number of processing cores to split the job across. Default is parallel::detect_cores() - 1

Details

This function calculates B'os, i.e. the distance between a local network's realized interactions and the potential interactions (calculated by integrating interactions from all local networks into a regional metaweb). Values close to 0 suggest there is a low local selection of interactions (nearly all regional interactions are found in the local network), whereas values closer to 1 reflect local selection of species' interactions

Value

A vector containing predicted B'os values for each network in adjacency_list

References

Poisot, T., Canard, E., Mouillot, D., Mouquet, N. & Gravel, D. (2012) The dissimilarity of species interaction networks. Ecology Letters, 15, 1353-1361.

See Also

beta_os_prime
metaweb


nicholasjclark/BBS.occurrences documentation built on July 19, 2020, 8:31 p.m.