Description Usage Arguments Value Examples
Determine the number of families/cases which need to be screened to detect a minimum number of observations of potentially pathogenic variants within the same gene.
1 2 | mendel_sample_size(prob = 0.8, proband_prop = NULL, gene_freq = 0.005,
min_num_variants = 2, min_num_probands_variants = 0)
|
prob |
probability |
proband_prop |
proportion of proband being a member of a family, NULL if the proportion is not specified |
gene_freq |
proportion of affected individuals explained by one gene |
min_num_variants |
minimum number of probands with pathogenic variant(s) in the same gene |
min_num_probands_variants |
minimum number of proband being a member of a family with pathogenic variant(s) in the same gene (cannot be bigger than min_num_variants) |
return number of samples (num_family + num_case) needed to reach desired probability
1 | mendel_sample_size(0.8, 0.2, 0.005, 2, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.