obj_offspring_reparam: Just a reparameterization of 'obj_offspring'.

Description Usage Arguments Author(s)

View source: R/RcppExports.R

Description

Just a reparameterization of obj_offspring.

Usage

1
2
obj_offspring_reparam(ocounts, osize, ploidy, prob_geno, s, ell, r,
  outlier = FALSE, out_prop = 0.01)

Arguments

ocounts

The observed counts of the refernce allele for each individual.

osize

The observed number of reads for each individuals.

ploidy

An integer. The ploidy of the species. This is assumed to be the same for each individual.

prob_geno

The allele frequencies of the genotypes. See get_prob_geno.

s

Same as log(bias_val) in obj_offspring.

ell

We have seq_error = expit(ell) from obj_offspring.

r

Same as log((1.0 - od_param) / od_param) from obj_offspring.

outlier

A logical. Should we include an outlier model (TRUE) or not (FALSE)? Defaults to FALSE.

out_prop

The proportion of points that are outliers. Defaults (quite arbitrarily) to 0.01.

Author(s)

David Gerard


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