Simple examples in Founders.rmd#46
Conversation
Draft of first part of founder.rmd with simple example covering multiple scenarios
|
@RosCraddock will have a look. See what I have done in 2f49d7f regarding demonstrating how partitioning works - I know you are planning to do something similar for the metafounders. |
|
The devel version now has a very nicely worked out example in the introduction (see Line 91 in 25d4937 AlphaPart/tests/testthat/test-alphapart.R Line 652 in 25d4937 I think it would be instructive to do similar for the UPG/metafounder example(s) you are working with. Perhaps you don't do all the examples at this level of detail. |
I agree! I intend to walk through one of the examples to demonstrate the theory with including unknown parent groups. I'll refer to the other vignettes to keep consistency. |
I wonder if we need to do it just for one example (for 1 OR 2+ metafounders) or for two (for 1 AND 2+ metafounders)? I am thinking about this to make it clear how we deal non-zero mean(s) of the base population when there is 1 or 2+ metafounders. Need to implement that table we have developed on the wall to clarify my mind about this;) |
- More detail and theoretic justification.
I just added the theory to the Founders.rmd. I followed your example from the intro for one unknown parent group and provide similar context for multiple unknown parent groups (but not as detailed). |
Added error handling for unknown parent groups into AlphaPart and tested locally. This included: -New parameter: UPGname for user to define the nomenclature used for UPGs (or metafounders). The default is "UPG". - If statements covering potential user error. - Updates to founder vignette Will address the testing next.
|
Hi @gregorgorjanc, AlphaPart.R
Founder.rmd
References.rmd
Next step: |
Small corrections and striping out of `center=false` from testthat calls.
Based on the same pedigree, provided simple examples considered in the 24/10 meeting as requested in #7. Additional text towards drafting the founders vignette, but still a work in progress.