modePeakCalc: Calculation of mode peak

modePeakCalcR Documentation

Calculation of mode peak

Description

This function takes a set of numbers and outputs a mode peak value. To be used in a larger function that will be updated.

Arguments

x

List of allele fraction values

Details

List of values should be the allele fractions of SNPs with the top 25 percent of counts in a region. If only one value is input, that value is returned.

Value

The value returned is numeric

Author(s)

Michelle Webb

Examples

test <- c(1,2,3,4,5)
modePeakCalc(test)

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