-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow multiPhylo object in tree argument? #13
Comments
Now that the package is further along, I have some thoughts about how to implement this. We would need to segment the tree each time, such that that are N_tree x N_seg, node_seq, parent, and ts. z_drift would also become [N_tree, N_seg - 1, J]. To marginalize over the sampled trees in the model block, store the likelihood from each tree like this:
|
I've made some changes to the Stan code on the |
Okay, I've finished implementing I have tested the authority model in the README against the same model fitted with two identical phylogenies in a
|
Currently, the package only allows single
phylo
objects. Should we allow the user to enter amultiPhylo
object? The model could iterate over all (or a reduced number of) phylogenetic trees and report the combined estimates.Or, alternatively, we could just leave this to the user to do manually (by e.g. looping over the
coev_fit()
function themselves).The text was updated successfully, but these errors were encountered: