tag:blogger.com,1999:blog-8499895524521663926.post6922459177619456351..comments2024-03-27T07:13:39.236-04:00Comments on Phylogenetic Tools for Comparative Biology: Adding a tip to a sister taxon on the treeLiam Revellhttp://www.blogger.com/profile/04314686830842384151noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-8499895524521663926.post-40991004775454337682019-05-15T12:46:23.807-04:002019-05-15T12:46:23.807-04:00This comment has been removed by the author.ariel https://www.blogger.com/profile/17356589606384195693noreply@blogger.comtag:blogger.com,1999:blog-8499895524521663926.post-79539731795376616192018-12-21T12:16:13.586-05:002018-12-21T12:16:13.586-05:00Thanks Liam!Thanks Liam!DBlanchttps://www.blogger.com/profile/15344901213119451250noreply@blogger.comtag:blogger.com,1999:blog-8499895524521663926.post-4487257595175312372017-10-26T14:34:36.497-04:002017-10-26T14:34:36.497-04:00Sorry to bother you but how can we create a functi...Sorry to bother you but how can we create a function to add several tips to several sister taxa? I tried this but cannot make it work. Thanks for the help.<br /><br />tip<- c("A1", "B1")<br />sister<- c("A", "B")<br />for (i in 1:length(tip)) tree<- bind.tip(tree,tip[i], where=which(tree$tip.label==sister[i]), position=0.5*tree$edge.length[which(tree$edge[,2]==which (tree$tip.label==sister[i]))])Anonymoushttps://www.blogger.com/profile/03831102627726815029noreply@blogger.comtag:blogger.com,1999:blog-8499895524521663926.post-38217887918614389292017-10-26T14:33:48.844-04:002017-10-26T14:33:48.844-04:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/03831102627726815029noreply@blogger.comtag:blogger.com,1999:blog-8499895524521663926.post-61044827508951159562015-08-30T02:19:30.072-04:002015-08-30T02:19:30.072-04:00Worked like a charm. Thanks so much!! Worked like a charm. Thanks so much!! Andrew J. Crawfordhttps://www.blogger.com/profile/04970109733606023315noreply@blogger.com