Thank you both for your kind and helpful answers that have solved my problem!
It is very much appreciated :)
Best,
Liam
> On 17 Oct 2018, at 5:01 am, Liam J. Revell wrote:
>
> Hi Liam.
>
> First of all, great choice of names!
>
> Secondly, add.species.to.genus is a very old function & I
> University of Oxford
>
>
>
> From: R-sig-phylo on behalf of Liam
> J. Revell
> Sent: Tuesday, October 16, 2018 7:02 pm
> To: Liam Kendall; r-sig-phylo@r-project.org
> Subject: Re: [R-sig-phylo] Adding species to genera tree as polytomies
: Re: [R-sig-phylo] Adding species to genera tree as polytomies
Hi Liam.
First of all, great choice of names!
Secondly, add.species.to.genus is a very old function & I wouldn't be
surprised to find that it had some bugs. Be forewarned!
Thirdly, I used Will's suggestion & got the func
Hi Liam.
First of all, great choice of names!
Secondly, add.species.to.genus is a very old function & I wouldn't be
surprised to find that it had some bugs. Be forewarned!
Thirdly, I used Will's suggestion & got the function to work in the
script you sent to me off-list, but with one
This might be somewhat of a hacky solution, but could you just add "sp." to
all of your genus names? The phytools function is looking for "Genus
species" in your tree tip names, but none of your tips have binomials, so
it's not finding the correct genus. By adding "sp." to all of your original
tip
Hi members,
I am struggling with what I think is a relatively simple problem. I have a
genera tree (i.e. genera are the branch tips) that I need to add 390 species to
as polytomies with equal branch lengths below the genera tips/nodes.
Can anyone help me do this in R? I have tried a for loop