File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -906,13 +906,18 @@ def node_posteriors(self):
906
906
907
907
def mutation_posteriors (self ):
908
908
"""
909
- Return parameters specifying the inferred posterior distribution of mutation
909
+ Returns parameters specifying the inferred posterior distribution of mutation
910
910
times which can be e.g. read into a ``pandas.DataFrame`` for further analysis.
911
911
These are calculated as the midpoint distribution of the posterior node time
912
912
distributions of the node above and below the mutation. Note that this means
913
913
it is possible for a mean mutation time not to lie between the mean values of
914
914
its parent and child nodes.
915
915
916
+ .. note::
917
+ For unphased singletons, the posterior mutation time is integrated over
918
+ the two possible haploid genomes on which the singleton could be placed,
919
+ accounting for the relative branch lengths above each genome.
920
+
916
921
:return: The distribution of posterior mutation times as a structured array
917
922
of mean and variance. Row ``i`` gives the mean and variance of inferred
918
923
mutations times for mutation ``i``.
You can’t perform that action at this time.
0 commit comments