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