pcd: Phylogenetic Community Dissimilarity

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/pcd.R

Description

Pairwise dissimilarity in phylogenetic community composition that is partitioned into a nonphylogenetic and a phylogenetic component.

Usage

1
    pcd(comm, tree, PSVmncd=NULL, PSVpool=NULL, reps=10^4)

Arguments

comm

Community data matrix

tree

Object of class phylo or a phylogenetic covariance matrix

PSVmncd

Vector of null mean conditional phylogenetic species variability (PSV) values

PSVpool

The standard, unconditional PSV calculated for the species pool

reps

The number of random draws from the species pool used to produce PSVmncd

Details

Phylogenetic community dissimilarity (PCD) is the pairwise differences between communities derived by asking how much of the variance among species in the values of a hypothetical nonselected trait in one community can be predicted by the known trait values of species in another community. PCD is partitioned into a nonphylogenetic component that reflects shared species between communities (PCDc) and a phylogenetic component that reflects the evolutionary relationships among nonshared species (PCDp). In order to compare communities that vary in species richness, the metric is standardized under the assumption that the species in communities are selected at random from the species pool. The analyses here define the species pool as the list of all species in the set of communities in comm, but the species pool can be defined under any hypothesis of community assembly either by manipulating the code or inputting a user defined PSVmncd and PSVpool.

Value

The function returns a list with items:

PCD

A square matrix of PCD values

PCDc

A square matrix of PCDc values

PCDp

A square matrix of PCDp values

PSVmncd

A vector of null mean conditional PSV values used to calculate PCD

PSVpool

The unconditional PSV of the species pool used to calculate PCD

Note

The sampling procedure used to standardize PCD and produce PSVmncd and PSVpool can be slow.

Author(s)

Anthony Ives <arives@wisc.edu> and Matthew Helmus <mrhelmus@gmail.com>

References

Ives A.R. & Helmus M.R. (2010). Phylogenetic metrics of community similarity. The American Naturalist, 176, E128-E142.

See Also

psv, phylosor, unifrac

Examples

1
2

picante documentation built on July 1, 2020, 10:57 p.m.