Skip to content
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

How can I access the probabilities using ancestral pml of entire sequence #132

Open
xbonner13 opened this issue Oct 12, 2022 · 0 comments
Open

Comments

@xbonner13
Copy link

Hello Klaus,

I would like to access the probability values for every site in my alignment. I cannot access the probabilities for every site within my alignment with the command

anc.ml = ancestral.pml(fit, "ml", return = "phyDat") or anc.ml = ancestral.pml(fit, "ml", return = "probs")

It appears when I reference one of the ancestral sequences as a result of the above command (return = "probs"), I only get the site pattern probabilities instead of all the probabilities.

anc.ml$62

I know this because my alignment has approximately 800 sites whereas I get around 190 sites, which is the same number as my site patterns. I also tried to directly output the probabilities to a file with the write.phyDat command but that has not worked for me. Thanks for the awesome program and I hope you can help me.

Cheers,

Xavier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant