marginalM2CalcBHET: Calculation of marginal M2 het

View source: R/functions.R

marginalM2CalcBHETR Documentation

Calculation of marginal M2 het

Description

Calculation of marginal M2 het

Usage

marginalM2CalcBHET(x, a, b)

Arguments

x

Number of counts for the reference allele

a

Alpha value

b

Beta value

Value

The value returned from marginalM2CalcBHET is numeric

Author(s)

Michelle Webb

Examples

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)

USCDTG/tLOH documentation built on Oct. 23, 2022, 8:05 p.m.