[R-sig-phylo] Problem with the map.overlap function (phytools)

2015-05-19 Thread Marina Strelin
Hi! I'm trying to use the map.overlap function of the R package phytools to compute the fraction of stochastic character mapping that is shared by two trees (I basically want to obtain a quantitative value that tells me if there is correlative evolution between an adaptive strategy and a trait).

Re: [R-sig-phylo] Problem with the map.overlap function (phytools)

2015-05-19 Thread Liam J. Revell
Hi Marina. Your problem is that the trees returned by make.simmap with nsim1 are an object of class multiPhylo - a list of trees (objects of class phylo) each with a mapped discrete character. I'm guessing that the first time you ran this you encountered the error: Error in