Description Usage Arguments Details Value Examples
Creates a new family object, allowing for calculation of a Bayes factor. The Bayes Factor Represents the likelyhood ratio of a phenotype being caused by an allele in question.
1 2 | new.family(maf, etiologic.fraction, penetrance, self = c("heterozygous",
"homozygous"), modus = c("dominant", "recessive"))
|
maf |
Minor Allele Frequency of allele in question |
etiologic.fraction |
The fraction of symptomatic patients that carry the genotype |
penetrance |
The fraction of genotype carriers that are symptomatic |
self |
The genotype of the patient him/herself. "heterozyogus" or "homozygous" |
modus |
The mode of inheritance. "dominant" or "recessive" |
A family object offers the following functions:
add.parent(pheno)
Adds a parent to the family, with boolean parameter pheno
indicating whether the parent has the phenotype/disease.
add.sibling(pheno)
Adds a sibling to the family, with boolean parameter pheno
indicating whether the sibling has the phenotype/disease.
add.child(pheno)
Adds a child to the family, with boolean parameter pheno
indicating whether the child has the phenotype/disease.
log.bayes.factor()
Returns the overall log likelihood ratio (i.e. log Bayes-Factor)
for this family.
a new Family object
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.