View source: R/GenotypeBreaks.R
genotype.fisher | R Documentation |
Assign states to any given region using Fisher Exact Test.
genotype.fisher(cReads, wReads, roiReads, background = 0.05, minReads = 10)
cReads |
Number of Crick reads. |
wReads |
Number of Watson reads. |
roiReads |
Total number of Crick and Watson 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. |
A list
with the $bestFit and $pval.
David Porubsky, Aaron Taudt
## Get Crick and Watson read counts
## Crick read count
cReads <- 30
## Watson read count
wReads <- 5
genotype.fisher(cReads = cReads, wReads = wReads, roiReads = cReads + wReads, background = 0.05, minReads = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.