marginalM2CalcBLOH | R Documentation |
Calculation of the marginal for Model 2
marginalM2CalcBLOH(x, a, b)
x |
Counts for the reference allele |
a |
Alpha value |
b |
Beta value |
The value returned from marginalM2CalcBLOH is numeric
Michelle Webb
test <- data.frame(REF=c(10,2,3,4,5,10),TOTAL=c(20,20,20,20,20,20))
apply(test, MARGIN = 1, FUN = marginalM2CalcBLOH, a = 10,b = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.