marginalLikelihoodM1 | R Documentation |
Calculation of the marginal likelihood of Model 1, LOH
x |
Dataframe output by tLOHDataImport |
a |
Alpha value |
b |
Beta value |
The reference and total counts should come from a .csv output by the spatial LOH pre-processing pipeline. The recommended values for both Alpha1 and Beta1 is 1.25.
The value returned from marginalLikelihoodM1 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 = marginalLikelihoodM1, a = 1.25, b = 1.25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.