Description Usage Arguments Value
Calculate prior probability of being a risk SNP
| 1 2 3 4 5 6 | calc.priors(object, effect = 2, adjust = NULL, verbose = FALSE,
  trace = 0)
## S4 method for signature 'GWAS'
calc.priors(object, effect = 2, adjust = NULL,
  verbose = FALSE, trace = 0)
 | 
| object | 
 | 
| effect | assumed effect size, used to shift the ideal z-score distribution | 
| adjust | optional parameter to adjust P(R) for linkage disequilibrium | 
| verbose | print out intermediate statistics calculated during the analysis | 
| trace | Non-negative integer. If positive, tracing information on the
progress of the optimization is produced. See  | 
A list with components:
p.rP(R): prior probability of being a risk SNP
p.nP(N): prior probability of a SNP having no effect
lambdaGWAS inflation factor (λ)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.