Learn R Programming

haplotyper (version 0.1)

haplotyper: haplotyper function identifies haplotypes within QTL.

Description

This function groups together all individuals of a population with the same haplotype.

Usage

haplotyper(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 haplotyper result. The default is FALSE

Value

a matrix with the haplotypes

Details

Each group contains individual with the same allele in each SNP, whether or not missing data.

See Also

read.table function

Examples

Run this code
## Not run: 
# data(rice_qtl)
# haplotyper(rice_qtl)
# ## End(Not run)

Run the code above in your browser using DataLab