liamrevell/phytools

cophylo with polytomies error

Opened this issue · 0 comments

cmt2 commented

Hello! I am looking to make cophylo plots with trees that have numerous polytomies, but am running into a memory error when I attempt to use the rotate.multi = T arg in phytools::cophylo(). The trees have 112 tips with, in the most extreme case, 108 branches of length 0. Without rotate.multi it runs totally fine and relatively fast, but the plot looks a bit ridiculous since it shows lots of conflict between trees due to the order of tips in the polytomy. The exact error is:

Error in vector("list", gamma(n + 1)) : 
  vector size specified is too large

I'm running this locally on a machine with 32 GB RAM. Is there any hope? Any suggestions for making this work?