Last chance! 50% off unlimited learning
Sale ends in
symbols.phylog
draws the phylogenetic tree and represents the values of
the variable by symbols (squares or circles) which size is proportional to value.
White symbols correspond to values which are below the mean, and black symbols
correspond to values which are over.symbols.phylog(phylog, circles, squares, csize = 1, clegend = 1,
sub = "", csub = 1, possub = "topleft")
phylog
par("cex")*clegend
par("cex")*csub
table.phylog
and dotchart.phylog
for many variablesdata(mjrochet)
mjrochet.phy <- newick2phylog(mjrochet$tre)
tab0 <- data.frame(scalewt(log(mjrochet$tab)))
par(mfrow=c(3,2))
for (j in 1:6) {
w <- tab0[,j]
symbols.phylog(phylog = mjrochet.phy, w, csi = 1.5, cleg = 1.5,
sub = names(tab0)[j], csub = 3)
}
par(mfrow=c(1,1))
Run the code above in your browser using DataLab