View source: R/GenotypeBreaks.R
genotype.binom | R Documentation |
Assign states to any given region using binomial test.
genotype.binom(wReads, cReads, background = 0.05, minReads = 10, log = FALSE)
wReads |
Number of Watson reads. |
cReads |
Number of Crick reads. |
background |
The percent (e.g. 0.05 = 5%) of background reads allowed for WW or CC genotype calls. |
minReads |
The minimal number of reads between two breaks required for genotyping. |
log |
Set to |
A list
with the $bestFit and $pval.
David Porubsky
## Get Crick and Watson read counts
## Crick read count
cReads <- 30
## Watson read count
wReads <- 5
genotype.binom(cReads = cReads, wReads = wReads, background = 0.05, minReads = 10, log = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.