tag:blogger.com,1999:blog-8499895524521663926.post8924890745836812900..comments2021-09-25T14:09:23.073-04:00Comments on Phylogenetic Tools for Comparative Biology: Major speed up of anc.Bayes()Liam Revellhttp://www.blogger.com/profile/04314686830842384151noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-8499895524521663926.post-7475023239106823342012-08-21T12:38:19.218-04:002012-08-21T12:38:19.218-04:00Thanks a lot for the prompt answer Liam! The trait...Thanks a lot for the prompt answer Liam! The trait I'm using / for which I'm trying to infer ancestral states is quite a tricky one and after careful consideration we (with one of my teachers) decided to try and treat it as continuous. Would the anc.Bayes() function somehow provide rate parameters for this trait? I would think of the probability of increase and decrease of the trait's value as two justifiable parameters.. Would it be possible to get estimates of these using anc.Bayes? <br /><br />Sorry if I'm asking something trivial!<br /><br />DanielDaniel Homolahttps://www.blogger.com/profile/02419582654962318192noreply@blogger.comtag:blogger.com,1999:blog-8499895524521663926.post-60327345941028169542012-08-20T18:10:26.631-04:002012-08-20T18:10:26.631-04:00Unfortunately (!) anc.Bayes only does Bayesian anc...Unfortunately (!) anc.Bayes only does Bayesian ancestral character estimation for continuous characters. The closest thing to Bayesian ancestral state estimation in 'phytools' is make.simmap, which does stochastic character mapping - but this only samples character history from a conditional posterior distribution, conditioned on the MLE of Q. Sorry!<br /><br />I'm also not aware of a function that does Bayesian ancestral state estimation for discrete characters in R.<br /><br />All the best, LiamLiam Revellhttps://www.blogger.com/profile/04314686830842384151noreply@blogger.comtag:blogger.com,1999:blog-8499895524521663926.post-80861187297931109152012-08-20T15:58:21.636-04:002012-08-20T15:58:21.636-04:00Dear Liam,
First of all let me say thank you for ...Dear Liam,<br /><br />First of all let me say thank you for all your hard work and efforts put into phytools, it's full with useful and fast algorithms, which are immensely valuable! <br /><br />I've used your package and anc.Bayes () to infer ancestral states for a tree with 820 tips, 819 internal nodes. The trait is discrete, basically it can take 14 states: 1-14. <br /><br />I set the ngen to a million and it provided reasonable ancestral states, but it ran for 23 hours.. Is this normal regarding the above mentioned scenario or a bit slow?<br /><br />My other question: is there a way to get transition parameters for these states as well? I'd need to infer the states of other species (which are not in this tree, since we don't know their states yet) using the branch lengths, nearest ancestral state and the transition probabilities however I could not find these probabilities in X after running the MCMC.. <br /><br />Thank you very much for your answers in advance!<br /><br />DanielDaniel Homolahttps://www.blogger.com/profile/02419582654962318192noreply@blogger.comtag:blogger.com,1999:blog-8499895524521663926.post-35163934162838910282011-11-28T10:05:05.273-05:002011-11-28T10:05:05.273-05:00Hi Olivier. Yes, this is in the works. Thanks fo...Hi Olivier. Yes, this is in the works. Thanks for asking & for your comment. - LiamLiam Revellhttps://www.blogger.com/profile/04314686830842384151noreply@blogger.comtag:blogger.com,1999:blog-8499895524521663926.post-84258359321223075782011-11-28T08:08:42.874-05:002011-11-28T08:08:42.874-05:00Dear Liam,
Works well and will definitely be of us...Dear Liam,<br />Works well and will definitely be of use to estimate ancestral states. Do you plan to implement the possibility to define variance (e.g. as standard error) for the extant taxa in a future version?<br />Olivierodclerckhttps://www.blogger.com/profile/17568304148948765021noreply@blogger.com