You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
give example of matching individuals to something written to metadata #56
Say you want to output something about individuals within SLiM (say, a tag that is not stored in metadata, or a computed, random phenotype), and match it up to the individuals in the tree sequence. This could be stored in top-level metadata, as a vector (if for presently-alive individuals) or a dictionary (more generally, with pedigreeID as keys). We should have an example of this, as discussed in #198 .
changed the title [-]give example of using `pedigree_id` property to match within slim to output[/-][+]give example of matching individuals to something written to metadata[/+]on Sep 20, 2021
Activity
[-]give example of using `pedigree_id` property to match within slim to output[/-][+]give example of matching individuals to something written to metadata[/+]petrelharp commentedon Sep 25, 2023
There's an example of this in tskit-dev/tskit#2842
bhaller commentedon Sep 25, 2023
There is an example of it in the SLiM manual for SLiM 5.0, too.