View source: R/functions_pool.R
haplo.fix | R Documentation |
This function applies a correction for the situations where scrm::scrm()
does not produce a single polymorphic site for a given locus. In this
situation, two artificial sites are created at that locus. All individuals
are assumed to be homozygous for the reference allele at those sites.
haplo.fix(haplotypes, nHap)
haplotypes |
a list of haplotypes obtained from the simulations done
with |
nHap |
an integer representing the total number of haplotypes simulated. |
a list of haplotypes identical to haplotypes
, but without empty
loci.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.