Description Usage Arguments Author(s)
wrapper for obj_offspring_weights_reparam
1 2 3 4 5 6 7 | obj_wrapp_all(parvec, ocounts, osize, weight_vec, ploidy, p1geno, p2geno,
allele_freq = 0.5, p1counts = NULL, p1size = NULL, p1weight = NULL,
p2counts = NULL, p2size = NULL, p2weight = NULL, bound_bias = FALSE,
bound_od = FALSE, update_bias_val = TRUE, update_seq_error = TRUE,
update_od_param = TRUE, seq_error_mean = -4.7, seq_error_sd = 1,
bias_val_mean = 0, bias_val_sd = 0.7, model = c("f1", "s1", "hw",
"uniform"), is_seq_ninf = FALSE)
|
parvec |
A vector of three elements, s, ell, and r. We have s = log(bias_val) = log(d), ell = logit(seq_error) = logit(eps), and r = - logit(od_param) = - logit(tau). |
ocounts |
The observed counts of the refernce allele for each individual. |
osize |
The observed number of reads for each individuals. |
weight_vec |
A vector of weights obtained via the E-step. |
ploidy |
An integer. The ploidy of the species. This is assumed to be the same for each individual. |
p1geno |
The genotype of parent 1 if |
p2geno |
The genotype of parent 2 if |
allele_freq |
The allele-frequency if |
p1counts |
The number of reference alleles observed from parent 1. |
p1size |
The number of reads observed from parent 1. |
p1weight |
The posterior probability that parent 1 is not an outlier. |
p2counts |
The number of reference alleles observed from parent 2. |
p2size |
The number of reads observed from parent 2. |
p2weight |
The posterior probability that parent 2 is not an outlier. |
bound_bias |
A logical. Should we bound the bias parameter |
bound_od |
A logical. Should we bound the overdisperion parameter
|
update_bias_val |
A logical. Not used. Here for compatability
with |
update_seq_error |
A logical. Not used. Here for compatability
with |
update_od_param |
A logical. Not used. Here for compatability
with |
seq_error_mean |
The mean of the logit-normal prior on the sequencing error rate, which corresponds
to |
seq_error_sd |
The standard deviation of the logit-normal prior on the sequencing error rate, which
corresponds to |
bias_val_mean |
The prior mean on the log of |
bias_val_sd |
The prior standard deviation on the log of |
model |
The model for the genotype distribution. Should we assume an F1 population ( |
is_seq_ninf |
Hacky way to get around fact that optim won't allow |
David Gerard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.