marginalM2CalcBHET {tLOH} | R 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)

[Package tLOH version 1.0.0 Index]