LDbin | R Documentation |
Create marker bins based on LD
LDbin(geno, r2.thresh = 0.99)
geno |
matrix of haplotype dosages (markers x indiv) |
r2.thresh |
threshold for binning |
Bins are created based on hierarchical clustering with hclust
and method='single'
, using 1-r^2
as the dissimilarity metric. The argument r2.thresh
controls the height for cutting the dendrogram to create the bins. The marker with the least missing data for each bin is chosen to represent it.
List containing
data frame with two columns: marker,bin
genotype matrix for the bins
r2 matrix for the bins
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.