plotDom plots the effects of dominance on sample size in an affected sibpair linkage study.
1 |
lsib |
is the relative risk ratio to a sibling. |
alpha |
Type 1 error rate (significane level) |
power |
is the power of the study to detect inkage under the (ideal) chosen conditions and parameters. |
... |
additional arguments for plot |
Creates a plot, and returns a table of the data that generated the plot. In this table, the first column gives the lambda off value, while the second column gives the corresponding number of affected sib pairs needed to have the desired power.
Makes the simplifying assumptions that (1) all families will have exactly two affected sibpairs; and that (2) the identity-by-descent status in the ASPs can be determined unambiguously
These are based on a Mathematica notebook created by Martin Farrall.
Daniel E. Weeks
nsibs
, plotNsibs
1 2 3 4 5 |
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.