marginalM2CalcBLOH: Marginal M2 Calculation

View source: R/functions.R

marginalM2CalcBLOHR Documentation

Marginal M2 Calculation

Description

Calculation of the marginal for Model 2

Usage

marginalM2CalcBLOH(x, a, b)

Arguments

x

Counts for the reference allele

a

Alpha value

b

Beta value

Value

The value returned from marginalM2CalcBLOH is numeric

Author(s)

Michelle Webb

Examples

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)


USCDTG/tLOH documentation built on Dec. 19, 2024, 10:24 p.m.