xavierdidelot / BactDating

Bayesian inference of ancestral dates on bacterial phylogenetic trees
https://xavierdidelot.github.io/BactDating
MIT License
80 stars 15 forks source link

Posterior support values of the result tree? #26

Closed Tonny-zhou closed 4 years ago

Tonny-zhou commented 4 years ago

Hi! Thank you for BactDating.

I' am a newcomer to the phylogenetic filed. I wanna know whether the result tree has posterior support values for each nodes.

Thank you

xavierdidelot commented 4 years ago

Hi Tonny,

BactDating uses a phylogeny as input to infer a dated phylogeny. The nodes in the output are the same as in the input, so there is no posterior support value being computed, except for the location of the root which is inferred if you use updateRoot=T (which is the default). You can access the posterior probability of the root via res$rootprob

Best wishes, Xavier

Tonny-zhou commented 4 years ago

Thank you!