View source: R/haplo_cluster.R
haplo_cluster | R Documentation |
Cluster parental haplotypes
haplo_cluster(filename, marker, haplotypes = NULL)
filename |
Name of diaQTL_parents input file |
marker |
Either target marker or marker interval (see Details). |
haplotypes |
Vector of haplotype names (default is all) |
The argument marker
can be either a single marker or vector of two markers.
If a single marker, the function finds the smallest interval containing that marker such that
the phased SNP haplotypes are all unique. If two markers are provided, that interval is used.
Clustering utilizes hclust(method="average"). See also phased_parents
for an additional visualization tool.
List containing
Data frame of haplotypes
Dendrogram
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.