Hi Liam,
Oops. That's embarrassing.
Apologies for that, and thanks for taking the time to help me out.
I have now thrown 158,904 test cases at your function and that was the only
outstanding issue.
Cheers,
Graeme
On 21 May 2013, at 16:42, Liam J. Revell liam.rev...@umb.edu wrote:
Hi
Hi Emmanuel,
Thanks for the suggestion to use prop.part(tree), its definitely faster the
what I had come up with. I might have missed something, but I don't think
using %in% alone will solve my problem.
Essentially, I'm interested in finding an objective way to determine sets
of independent
Glenn - if this function does what you were hoping for, then I have also
posted a version that works for non-binary trees. For more information,
check out my blog:
http://blog.phytools.org/2013/05/version-of-getcladesofsize-that-also.html.
All the best, Liam
Liam J. Revell, Assistant
Hi Glenn,
Of course %in% is pairwise. I thought you'd figure out the rest of it ;)
I can see two ways to solve your problem, though I don't know if they work.
The 1st one:
1) Select the clades of appropriate size(s).
2) Build a square symmetric matrix where the rows and columns are the clades