Open hannesbecher opened 4 days ago
@hannesbecher I replied to this question https://github.com/gaynorr/AlphaSimR/issues/34 with an example that you can use/adapt-to-your-case as a starting point - you could lift and polish that explanation ...
Cool thanks, did nt think to look into the closed issues, @gregorgorjanc. Where should this information best be moved to, a vignette? A documentation page? I guess both would be useful? @gaynorr ?
Doc page
I guess documentation pages can be hard to find if they are not for a specific function. The SimParam class has a very complicated doc page but only its methods are explained. Where would one best document the recHist slot/property of SimParam?
Vignette
I think a general vignette on recombination in ASR would be useful. It might cover:
@hannesbecher this would be best handled by a vignette in my opinion and we have an open issue about this at https://github.com/gaynorr/AlphaSimR/issues/94 - I asked @AprilYUZhang to lead on this one, but I reckon we should all pul our shoulder to the wheel to make it happen. I see she started with some edits in https://github.com/AprilYUZhang/AlphaSimR/commit/7971e9bb398fdf0792c95b7180f5c74dfb331c8b, but we should move those to a separate independent vignette. Can you lead on this and pull @AprilYUZhang and me as needed and then @gaynorr will surely jump at some point in;)
@hannesbecher yes, you have raised good points that should be mentioned in the vignette - how to specify recombination rate, map, marker vs bp level, distances, recHist!
Is your feature request related to a problem? Please describe. The recHist slot/property of the SimParam class is not documented/described, it seems.
Describe the solution you'd like This is related to #94 of course, but as a start, it would be helpful to add a documentation page to the package explaining the nested structure of the recHist object.
Describe alternatives you've considered
94
Additional context An ASR simulation of tetraploids with 3 autosomes:
The 1st and 2nd chromosome of each set come from the same parent, I think. Which one is it, mother or father?
Feel fee to assign to me/ happy to send a PR.