densityMap(trees, res=100, fsize=NULL, ftype=NULL, lwd=3, check=FALSE,
legend=NULL, outline=FALSE, type="phylogram", direction="rightwards",
plot=TRUE, ...)
"plot"(x, ...)"multiPhylo" object. Values for a two-state discrete character are mapped on the tree. See make.simmap and read.simmap for details.plotSimmap. As with fsize, can be a vector with the second element giving font type for the legend.trees are equal.FALSE no legend is plotted; if a numeric value, it gives the length of the legend in units of branch length. Default is 0.5 times the total tree length."phylogram" for a rightward square phylogram; and "fan" for a circular phylogram.plot=FALSE then an object of class "densityMap" will be returned without plotting.type="phylogram".plot.densityMap, an object of class "densityMap".plot.densityMap. These include all the arguments of densityMap except trees and res. Additional optional arguments include mar (margins), offset (tip label offset), and hold (whether or not to use dev.hold to hold output to graphical device before plotting; defaults to hold=TRUE). Also, the argument states can be used to 'order' the states on the probability axis (that is, which state should correspond to a posterior probability of 0 or 1). Some other plotting arguments, such as xlim and ylim, may also work."densityMap" invisibly.
Huelsenbeck, J. P., R. Neilsen, and J. P. Bollback. 2003. Stochastic mapping of morphological characters. Systematic Biology, 52, 131-138.
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.
Revell, L. J. 2013. Two new graphical methods for mapping trait evolution on phylogenies. Methods in Ecology and Evolution, 4, 754-759.
make.simmap, plotSimmap, read.simmap