nulldistrib: Weighted beta/binomial distribution

Description Usage Arguments Details Value

Description

Weighted beta/binomial distribution

Usage

1
2
nulldistrib(w, minN = 6, p = 0.5, binSize = 40,
  distrib = "binomial", b = 0)

Arguments

w

Data frame or matrix giving

minN

Minimum coverage (min total num of reads (since it's left open right closed))

p

Binomial parameter (null probability)

Details

d.combined collects all results and correspond it to an allelic ratio: col1=allelicRatio (based on binomial n=6, ar=0,1/6,2/6...) col2=corresponding weighted value in binomial distribution, i.e. pdf(n, k, p) * (num of empirical SNPs at n counts)

Value

The weighted null beta/binomial probability mass function


anthony-aylward/chenimbalance documentation built on May 17, 2019, 12:50 p.m.