Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cophylo with polytomies error #150

Open
cmt2 opened this issue Feb 24, 2024 · 0 comments
Open

cophylo with polytomies error #150

cmt2 opened this issue Feb 24, 2024 · 0 comments

Comments

@cmt2
Copy link

cmt2 commented Feb 24, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant