Learn R Programming

picante (version 0.7-1)

phylosor.rnd: Null PhyloSor values of phylogenetic beta-diversity

Description

PhyloSor values obtained by randomization for different choices of null models

Usage

phylosor.rnd(samp,tree, cstSor=TRUE, null.model=c("taxa.labels",
    "frequency","richness","independentswap","trialswap"),
    runs=999, iterations=1000)

Arguments

samp
Community data matrix
tree
Object of class phylo
cstSor
TRUE if the Sorensen similarity should be kept constant across communities. FALSE otherwise
null.model
Null model to use (see Details section)
runs
Number of randomizations
iterations
Number of iterations to use for each randomization (for independent swap and trial null models)

Value

  • A list of length the number of runs. Each element of the list is a distance matrix containing the PhyloSor values of phylogenetic beta-diversity obtained by randomization

Details

Currently implemented null models (arguments to null.model): [object Object],[object Object],[object Object],[object Object],[object Object]

References

Bryant, J.B., Lamanna, C., Morlon, H., Kerkhoff, A.J., Enquist, B.J., Green, J.L. 2008. Microbes on mountainsides: Contrasting elevational patterns of bacterial and plant diversity. Proceedings of the National Academy of Sciences 105 Supplement 1: 11505-11511

See Also

phylosor, randomizeSample

Examples

Run this code
data(phylocom)
phylosor.rnd(phylocom$sample,phylocom$phylo,cstSor=TRUE,null.model="richness",runs=5)

Run the code above in your browser using DataLab