Replies: 2 comments 2 replies
|
I don't have anything built-in to AlphaSimR for this, so you'd have to dig around a bit in the internals to work something out or use a hack. Doing this by looking at the internals can take a while. You'll need two objects from SimParam: recHist (a history of observed recombinations) and pedigree. The hack is much easier but may not work for you in all cases. The hack is to just use |
|
Thanks for the quick answer and the hack @gaynorr ! |
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
If I'l not mistaken, when using the
pullIbdHaplo()function, the origin of the haplotypes in the studied population is given relative to the population of founders. Would there be a trick to obtain the origin of the haplotypes relative to another population?For example, with the following code:
Would there be a way to obtain the origin of the haplotypes in the
rand_pop2population relative to therand_poppopulation? The result would then be:Thank you very much!
All reactions