Package 'clusterhap'

Title: Clustering Genotypes in Haplotypes
Description: One haplotype is a combination of SNP (Single Nucleotide Polymorphisms) within the QTL (Quantitative Trait Loci). clusterhap groups together all individuals of a population with the same haplotype. Each group contains individual with the same allele in each SNP, whether or not missing data. Thus, clusterhap groups individuals, that to be imputed, have a non-zero probability of having the same alleles in the entire sequence of SNP's. Moreover, clusterhap calculates such probability from relative frequencies.
Authors: Gaston Quero <[email protected]> and Sebastian Simondi <[email protected]> , with contributions from Victoria Bonnecarrere and Lucia Gutierrez
Maintainer: Gaston Quero <[email protected]>
License: GPL-3
Version: 0.1
Built: 2025-02-06 03:40:50 UTC
Source: https://github.com/cran/clusterhap

Help Index


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)

Real experimental data

Description

The data is a QTL for rice Grain Quality

Usage

rice_qtl

Format

A data frame 326 rows (individual) and 38 variables (SNPs)

Source

Uruguayan Rice Breeding GWAS (URiB)


simple QTL simulated

Description

A dataset containing the marcadores

Usage

sim_qtl

Format

A data frame 5 rows (individuals) and 7 variables (snps)

Source

simulated data