create_ckmr | R Documentation |
Starting from a data frame of marker information like that
in microhaps
or long_markers
. This
function takes care of all the calculations necessary to simulate
log-likelihood ratios of genotypes given different pairwise relationships.
create_ckmr(
D,
kappa_matrix = kappas[c("MZ", "PO", "FS", "HS", "U"), ],
ge_mod_assumed = ge_model_TGIE,
ge_mod_true = ge_model_TGIE,
ge_mod_assumed_pars_list = list(epsilon = 0.1),
ge_mod_true_pars_list = list(epsilon = 0.1)
)
D |
a data frame in the format of |
kappa_matrix |
A matrix like that in the supplied data |
ge_mod_assumed |
The genotyping error model assumed for the analysis. |
ge_mod_true |
The actual, "true" genotyping error model for the simulation. |
ge_mod_assumed_pars_list |
a named list of extra arguments (besides L) to be passed to the ge_mod_assumed function. Set it to NULL to use the default values for the genotyping error model. |
ge_mod_true_pars_list |
a named list of extra arguments (besides L) to be passed to the ge_mod_true function. Set to NULL to use defaults. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.