Description Usage Arguments Details Value Author(s) See Also Examples
This function groups together all individuals of a population with the same haplotype.
1 | 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
1 2 3 4 5 6 7 8 9 10 11 | #### 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.