marginalM1Calc {tLOH} | R Documentation

## Calculate marginal of Model 1

### Description

This function takes the number of counts for a reference allele as x, and the number of total allele counts as y.

### Arguments

`x` | Number of counts for the reference allele.
`y` | Number of counts total at this SNP position.

### Details

The reference and total counts should come from a .csv output by the spatial LOH pre-processing pipeline.

### Value

The value returned from marginalM1Calc is numeric

### Author(s)

Michelle Webb

### Examples

    marginalM1Calc(10, 0.5)

[Package tLOH version 1.0.0 Index]