Creates a loci design matrix given a haploid matrix or a list of haploid matricies.
1 2 | genotype.loci(haploid.genos, genome, include.QTL = FALSE, error.rate = 0,
missing.prop = 0)
|
haploid.genos |
A 2n x m matrix of haploid alleles at m loci for n individuals. |
genome |
The hypred genome. |
include.QTL |
Logical whether to include the QTL in the design matrix.
Default is |
error.rate |
The rate of genotyping errors for a particular individual. Used to draw from a binomial distribution whether to introduce error. The conversion of a heterozygous genotype to one of the homozygotes or from a homozygous genotype to a heterozygote or one of the homozygotes will occur will equal probability. |
missing.prop |
The proportion of missing data across the genotype calls. Genotype calls are randomly assigned missing to obtain the desired missingness proportion. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.