View source: R/ge_model_microhap1.R
ge_model_microhap1 | R Documentation |
This is intended for the case where the genotypes in question are composed of alleles that are actually the multi-SNP haplotypes obtained from next generation sequence data. In other words, all the SNPs occur on a single read and the phase is known because they are all together on the read. It allows for a per-locus or a per-SNP-specific sequencing error rate. The haplotypes must be named as strings of A, C, G, or T, (though they could be strings of any characters—the function isn't going to check that!) and for now we assume that if the SNPs are multiallelic then genotyping errors to either of the alternate alleles are equally likely. Currently assumes that genotyping errors are equally likely in either direction at a SNP, too.
ge_model_microhap1(
L,
miscall_rate = 0.005,
dropout_rate = 0.005,
per_snp_rate = FALSE
)
L |
an element of the list created by |
miscall_rate |
The rate at which microhaplotype alleles are mis-called. If
option |
dropout_rate |
Rate of allelic dropout. |
per_snp_rate |
Logical. If true, then the overall mis-call rate for the
microhaplotype locus is |
# here is some example information about a microhap:
example_L_microhap
# now we can feed it in to the function with default parameter values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.