Displaying inheritance nested within a pedigree #2970
hyanwong
started this conversation in
Show and tell
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Off the back of https://tskit.dev/msprime/docs/stable/pedigrees.html#visualising-pedigrees, I tweaked the function to allow more customisation, and (more interestingly) to be able to show the tree sequence edges embedded in the pedigree. I'm showing the pairs or node IDs rather than the individuals IDs as node labels here, and using hexagons to avoid confusion with the squares and circles used in the normal tskit visualizations.
There's a slight issue in that you can't tell which of the two nodes within each individual is being targeted by the red lines, but I can't think of an easy way around that.
For example, with the non-recombining
forward_WF
code in the fwd simulations tutorialBeta Was this translation helpful? Give feedback.
All reactions