Pairwise dissimilarity in phylogenetic community composition that is partitioned into a nonphylogenetic and a phylogenetic component.
pcd(comm, tree, PSVmncd=NULL, PSVpool=NULL, reps=10^4)
Community data matrix
Object of class phylo or a phylogenetic covariance matrix
Vector of null mean conditional phylogenetic species variability (PSV) values
The standard, unconditional PSV calculated for the species pool
The number of random draws from the species pool used to produce PSVmncd
The function returns a list with items:
A square matrix of PCD values
A square matrix of PCDc values
A square matrix of PCDp values
A vector of null mean conditional PSV values used to calculate PCD
The unconditional PSV of the species pool used to calculate PCD
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
.
Ives A.R. & Helmus M.R. (2010). Phylogenetic metrics of community similarity. The American Naturalist, 176, E128-E142.
# NOT RUN {
data(phylocom)
pcd(phylocom$sample, phylocom$phylo)
# }
Run the code above in your browser using DataLab