Description Usage Arguments Details Value Author(s) See Also Examples
This function calculates AIC values, weights and model-weighted average number of entities inferred using GMYC.
1 |
phy |
An object of class ‘phylo’. |
sppVector |
The species vector (see |
cols |
Vector to represent the colours for each species. Recycled if necessary. |
This function implements equations 3 to 6 in Powell (2011).
A numeric vector giving the descendant tip numbers and (if tips.only = FALSE
) node numbers
Samuel Brown <s_d_j_brown@hotmail.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 | data(dolomedes)
doloTr <- nj(dist.dna(dolomedes))
doloSpp <- substr(dimnames(dolomedes)[[1]], 1, 5)
edgeCol <- sppEdge(doloTr, doloSpp)
plot(doloTr, edge.color = edgeCol)
data(anoteropsis)
anoTr <- nj(dist.dna(anoteropsis))
anoSpp <- sapply(strsplit(dimnames(anoteropsis)[[1]], split="_"), function(x) paste(x[1], x[2], sep="_"))
edgeCol <- sppEdge(anoTr, anoSpp)
plot(anoTr, edge.color = edgeCol)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.