Skip to content

Should time parameter (add_individual) of parent and offspring be set to 1 and 0? #551

Answered by hyanwong
lakishadavid asked this question in Q&A
Discussion options

You must be logged in to vote

No, the time in tsinfer is not measured in generations, sorry.

In general, there is no standard meaning of time in a tree sequence - it depends on how it was created. For tree sequence created from tsinfer, the "time" ranges from 0 to 1, and simply measures the frequency of the focal derived allele.

For tsinfer we assume that all input genomes are "samples" and not internal nodes (i.e. they are not the ancestors of other individuals in the tree sequence, although something that does indeed happen.

We haven't thought much about how to incorporate knowledge of the pedigree into the inference process. It should probably work just treating them as samples, all at time 0, but caveat emptor.

To…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hyanwong
Comment options

Answer selected by lakishadavid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants