View source: R/create_haplotypes_from_scheme.R
create_haplotypes_from_scheme | R Documentation |
The function simulates haplotypes from a scheme
It produces a haplotype object following the individuals and generations of a scheme file.
create_haplotypes_from_scheme(scheme,chr_length,pop)
scheme |
Required: an input scheme |
chr_length |
Required: a chr_length file |
pop |
Optional: an input population |
haplotypes
haplotype2 = create_haplotypes_from_scheme(scheme,"chr_length.txt",pop2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.