Description Usage Arguments Value Author(s) References See Also Examples
Creates an haplotype data object needed for simulating haplotypes with haplosim. This object also contains some summary statistics about the real data.
1 | haplodata(dat)
|
dat |
A binary matrix, rows are haplotypes and columns are binary markers |
A list containing:
freqs |
Allele frequencies |
cor |
Correlation matrix (LD coefficients) |
div |
Locus-specific diversity measure |
cov |
Covariance matrix for the normal distribution |
Giovanni Montana
Montana, G. HapSim: a simulation tool for generating haplotype data with pre-specified allele frequencies and LD coefficients. 2005.
See also haplosim
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.