distinctTopo {adiv} | R Documentation |
Topology-based Species' Originality
Description
The function calculates three indices of species' originality that rely on the topology of (phylogenetic) trees. Trees with polytomies are allowed.
Usage
distinctTopo(phyl, method = c("VW","M","A","full"), standardized = FALSE)
Arguments
phyl |
an object inheriting the class |
method |
a character or string or a vector of characters/strings. Possible values are |
standardized |
a logical. If |
Value
A data frame with species as rows and originality indices as columns.
Author(s)
Sandrine Pavoine sandrine.pavoine@mnhn.fr with contributions of Stephane Dray
References
May, R.M. (1990) Taxonomy as destiny. Nature, 347, 129–130.
Vane-Wright, R.I., Humphries, C.J., Williams, P.H. (1991) What to protect? Systematics and the agony of choice. Biological Conservation, 55, 235–254.
Abouheif, E. (1999) A method for testing the assumption of phylogenetic independence in comparative data. Evolutionary Ecology Research, 1, 895–909.
Pavoine, S., Ollier, S., Pontier, D., Chessel, D. (2008) Testing for phylogenetic signal in phenotypic traits: new matrices of phylogenetic proximities. Theoretical Population Biology, 73, 79–91.
See Also
distinctDis
, distinctTree
, distinctUltra
Examples
## Not run:
if(require(ape) && require(adephylo) && require(phylobase)){
data(carni70, package = "adephylo")
tre <- read.tree(text=carni70$tre)
U <- distinctTopo(tre, standardized = TRUE)
U.4d <- phylo4d(tre, as.matrix(U))
dotp4d(U.4d, center = FALSE, scale = FALSE)
barp4d(U.4d, center = FALSE, scale = FALSE)
gridp4d(U.4d, center = FALSE, scale = FALSE)
parmar <- par()$mar
par(mar=rep(.1,4))
table.phylo4d(U.4d, show.node=FALSE, symbol="squares", center=FALSE, scale=FALSE, cex.symbol=2)
par(mar=parmar)
}
## End(Not run)