Description Usage Arguments Value Examples
A wrapper around binom.test that ensures that n!=0 and that k is at least a minimum number.
1 | btest(k, n, p, kmin = 10, nmin = 600)
|
k |
count |
n |
total |
p |
prob |
kmin |
minimum k cut off |
nmin |
minimum n cut off |
a atomic numeric p-value
1 2 3 4 5 6 7 8 | ## How many times are two motifs found D base pairs apart
frequencyAtD<-10
## How may times are two motifs found any D appart
possibleAtD<-200
## If one motif distance was computed what is the probability of it
## being D
probabilityAtD<-0.03
btest(frequencyAtD,possibleAtD,probabilityAtD)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.