flexdog
maximizes when
outliers are present.Log-likelihood that flexdog
maximizes when
outliers are present.
flexdog_obj_out(
probk_vec,
out_prop,
refvec,
sizevec,
ploidy,
seq,
bias,
od,
mean_bias,
var_bias,
mean_seq,
var_seq,
mean_od,
var_od
)
The kth element is the prior probability of genotype k (when starting to count from 0).
The probability of being an outlier.
A vector of counts of reads of the reference allele.
A vector of total counts.
The ploidy of the species. Assumed to be the same for each individual.
The starting value of the sequencing error rate.
The starting value of the bias.
The starting value of the overdispersion parameter.
The prior mean of the log-bias.
The prior variance of the log-bias.
The prior mean of the logit of the sequencing error rate.
The prior variance of the logit of the sequencing error rate.
The prior mean of the logit of the overdispersion parameter.
The prior variance of the logit of the overdispersion parameter.
A double. The flexdog
objective when
outliers = TRUE
.
flexdog_obj
for the objective function without outliers.