outlier_bb_obj: Objective function for outlier model.

Description Usage Arguments Author(s)

View source: R/updog_bb.R

Description

Objective function for outlier model.

Usage

1
outlier_bb_obj(par, ocounts, osize, theta)

Arguments

par

A 2-vector. The first element is the mean of the beta-binomial. The second is the overdispersion parameter.

ocounts

A vector of non-negative integers. The ith element is the number of reads of the reference allele in the ith child.

osize

A vector of positive integers. The ith element is the total number of reads for the ith child.

theta

A vector of proportions. The posterior probabilities of each point being ok.

Author(s)

David Gerard


dcgerard/updogAlpha documentation built on May 14, 2019, 3:10 a.m.