plotNsibs | R Documentation |
Plots the required sample sizes needed to detect linkage in an affected sib pair linakge study as a function of lambda sib, under the assumption that lambda sib = lambda off.
plotNsibs(alpha = 0.001, power = 0.85,...)
alpha |
the Type 1 error rate (significance level). |
power |
the power to detect linkage. |
... |
additional arguments for plot |
Assumes that lambda sib = lambda off.
Creates a plot, and returns a table of the data that generated the plot. In this table, the first column gives the lambda sib 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
, plotDom
## Plot the required sample sizes in an affected sib pair linkage study as ## a function of lambda sib required to have 85 percent power at an alpha ## level of 0.001, under the assumption that lambda sib = lambda off. plotNsibs(alpha=0.001,power=0.85)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.