marginalM1Calc: Calculate marginal of Model 1

View source: R/functions.R

marginalM1CalcR 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)

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