Description Usage Arguments Details Value
View source: R/getVariantScore.R
Returns score for a given allele frequency
1 2 3 4 5 6 7 8 9 10 | getVariantScore(
freq,
expected.ht.mean,
expected.dup.ht.mean1,
expected.dup.ht.mean2,
sigmoid.c1,
sigmoid.c2.vector,
sigmoid.int1,
sigmoid.int2
)
|
freq |
Variant allele frequency |
expected.ht.mean |
Expected heterozygous SNV/indel allele frequency |
expected.dup.ht.mean1 |
Expected heterozygous SNV/indel allele frequency when the variant IS NOT in the same allele than the CNV duplication call |
expected.dup.ht.mean2 |
Expected heterozygous SNV/indel allele frequency when the variant IS in the same allele than the CNV duplication call |
sigmoid.c1 |
Sigmoid c1 parameter |
sigmoid.c2.vector |
Vector containing sigmoid c2 parameters for the six sigmoids functions |
sigmoid.int1 |
Sigmoid int 1 |
sigmoid.int2 |
Sigmoid int 2 |
Returns a value between -1 and 1. If the allele frequency increases the evidence of discarding a CNV, then the score is positive. If the allele frequency decreases the evidence for discarding a CNV, the score is negative.
The model is based on the fuzzy logic and the score is calculated using sigmoids. See the vignette to get more details.
variant score in the [-1, 1] range
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.