-
Notifications
You must be signed in to change notification settings - Fork 26
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
as.phylo C stack overflow caused by deep trees #78
Comments
Relevant code: https://github.com/YuLab-SMU/treeio/blob/master/R/method-as-phylo.R#L1-L3
Somewhere there is very deep recursion happening to be fixed. |
I remember tracing the error back to this line |
Relevant issue here: kharchenkolab/numbat#30 At some point, there's a recursive function which recurses too deeply, creating a stack overflow. It's possible the fix belongs in |
Just following up on this - do you think this is an |
Yes, I'm working with Teng above---we are working on this package: https://github.com/kharchenkolab/numbat The dependencies are I'm happy to put in time for a PR to fix these issues, but (like Teng) I'm trying to figure out where to begin. Everyone's insight here would be really helpful. Thanks, Evan |
Hey, I am getting an error when trying to plot the heatmap while running Numbat: BTW I managed to infer the heatmap and phylogeny in another dataset with 2 CNVs: Mem used: 9.9Gb Please notice that the cost value is significantly lower in the first case. I'd appreciate any insights on this one! Best, |
Hi @GuangchuangYu, I think the above error is caused by Thanks, |
@xiangpin do you have some times to look into this? |
I think the problem is caused by the internal function |
Thanks! A similar issue may have been fixed in |
Hi @xiangpin, Just wanted to follow up on this. Thanks in advance! Best, |
Hi,
When converting from igraph to phylo, I run into the issue of C stack overflow for very deep trees.
Reproducible example: tree_final_1.rds.zip
This is probably similar to the
ape
issue that is address here: emmanuelparadis/ape#54Would really appreciate your help!
Thanks,
Teng
The text was updated successfully, but these errors were encountered: