out_grad_parent: Gradient function for 'dbetabinom_mu_rho_cpp_double'.

Description Usage Arguments Value Author(s)

View source: R/RcppExports.R

Description

Gradient function for dbetabinom_mu_rho_cpp_double.

Usage

1
out_grad_parent(pcounts, psize, out_mean, out_disp, weight)

Arguments

pcounts

The number of counts of the reference allele we observe in a parent.

psize

The total number of reads we observe in a parent.

out_mean

The mean of the BB.

out_disp

The overdispersion parameter of the BB.

weight

The probability a point is an outlier.

Value

A vector of length two. The first element of which is the partial derivative of the outlier mean. The second element of which is the partial derivative of the outlier overdispersion parameter.

Author(s)

David Gerard


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