View source: R/functions_pool.R
hap2geno | R Documentation |
This function converts haplotypes simulated with scrm::scrm()
into
genotypes by adding the entries on one row with the entries of the subsequent
row.
hap2geno(haplo)
haplo |
a matrix of haplotypes obtained from the simulations done with
|
a matrix of genotypes with half the rows of the haplo
matrix. Each
column of this matrix is a different site and each row is a different
genotype.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.