mendel_sample_size: mendel_sample_size

Description Usage Arguments Value Examples

View source: R/mendel_prob.R

Description

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.

Usage

1
2
mendel_sample_size(prob = 0.8, proband_prop = NULL, gene_freq = 0.005,
  min_num_variants = 2, min_num_probands_variants = 0)

Arguments

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)

Value

return number of samples (num_family + num_case) needed to reach desired probability

Examples

1
mendel_sample_size(0.8, 0.2, 0.005, 2, 1)

statgenetics/mendelprob documentation built on May 6, 2019, 8:59 p.m.