Description Usage Arguments Value Author(s) References Examples
Compute haplotype frequencies
1 | haplofreqs(dat, firstl, lastl)
|
dat |
A binary matrix, rows are haplotypes and columns are binary markers |
firstl |
Position of the first locus |
lastl |
Position of the last locus |
A vector of haplotype frequencies
Giovanni Montana
Montana, G. HapSim: a simulation tool for generating haplotype data with pre-specified allele frequencies and LD coefficients. 2005.
1 2 | data(ACEdata)
freqs <- haplofreqs(ACEdata, 17, 22)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.