Re: [R-sig-phylo] extracting sister taxon pairs from phylo object in APE R package

2020-01-10 Thread Max Shpak
Thank you all for your replies. I will give these a try. Best Regards, Max On Fri, Jan 10, 2020 at 1:59 AM Klaus Schliep wrote: > > Hi Max, > there is also a function called Siblings in phangorn: > library(phangorn) > tree <- rcoal(10) > Siblings(tree, 1:10, include.self=TRUE) # Siblings for

Re: [R-sig-phylo] extracting sister taxon pairs from phylo object in APE R package

2020-01-10 Thread Klaus Schliep
Hi Max, there is also a function called Siblings in phangorn: library(phangorn) tree <- rcoal(10) Siblings(tree, 1:10, include.self=TRUE) # Siblings for all the tips Siblings(tree, include.self=TRUE) # all pairs Regards, Klaus On Fri, Jan 10, 2020 at 3:27 AM Liam Revell wrote: > Peter's