View source: R/simulateGenotypesHaploids.R
This function simulates genotypes within a pedigree, based on centiMorgan map distances. Outputs genotypes as a GenABEL gwaa object.
1 | sampleHaploids(haploid.ids, haploid.parent, PLINK.prefix)
|
haploid.ids |
vector of IDs to sample haploid genome from |
haploid.parent |
parent who produced the haploid offspring, "MOTHER" or "FATHER" |
PLINK.prefix |
default is a randomly generated name. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.