clusterhap {clusterhap} | R Documentation |
This function groups together all individuals of a population with the same haplotype.
clusterhap(x, Print = FALSE)
x |
a data.frame that should be loaded with read.table function. Each row represents the individuals while each column represents the markers. The first column contains the names of the genotypes. |
Print |
option for print the clusterhap result. The default is FALSE |
Each group contains individual with the same allele in each SNP, whether or not missing data.
a matrix with the haplotypes
Gaston Quero, Sebastian Simondi, Victoria Bonnecarrere, Lucia Gutierrez.
read.table function
#### Simple simulated data
data("sim_qtl")
clusterhap(sim_qtl, Print=TRUE)
### Real experimental data
## Not run:
data(rice_qtl)
clusterhap(rice_qtl)
## End(Not run)