clusterhap {clusterhap} | R Documentation |
clusterhap function identifies haplotypes within QTL.
Description
This function groups together all individuals of a population with the same haplotype.
Usage
clusterhap(x, Print = FALSE)
Arguments
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 |
Details
Each group contains individual with the same allele in each SNP, whether or not missing data.
Value
a matrix with the haplotypes
Author(s)
Gaston Quero, Sebastian Simondi, Victoria Bonnecarrere, Lucia Gutierrez.
See Also
read.table function
Examples
#### 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)
[Package clusterhap version 0.1 Index]