ivan-krukov / aligning-genealogies

The genealogy-coalescent alignment project
3 stars 0 forks source link

Add focused view to .draw() methods #14

Closed shz9 closed 4 years ago

shz9 commented 4 years ago

Incorporate the ability to draw a limited subset of nodes (and their surroundings) from pedigrees/tree sequences. This should help for visualizing segments of large pedigrees without cluttering the screen.

Working idea: Given a list of nodes node_list, draw only nodes the are up to k hops away from nodes in node_list.

shz9 commented 4 years ago

This is done. Examples are in Jupyter notebook.