Learn R Programming

⚠️There's a newer version (3.2.2) of this package.Take me there.

rehh (version 2.0.4)

Searching for Footprints of Selection using "Extended Haplotype Homozygosity" Based Tests

Description

Population genetic data in form of "Single Nucleotide Polymorphisms" (SNPs) is often used to identify genomic regions that have been under recent natural or artificial selection and might provide clues about the molecular mechanisms of adaptation. The concept of an "Extended Haplotype Homozygosity" (EHH), introduced by (Sabeti 2002) , has given rise to several derived statistics designed for whole genome scans. The package provides functions to compute three of these, namely: "iHS" (Voight 2006) for detecting selection within a single population as well as "Rsb" (Tang 2007) and "XP-EHH" (Sabeti 2007) to detect (differential) selection between two populations. Various plotting functions are also included to facilitate visualization and interpretation of these statistics.

Copy Link

Version

Install

install.packages('rehh')

Monthly Downloads

523

Version

2.0.4

License

GPL (>= 2)

Maintainer

Mathieu Gautier

Last Published

February 13th, 2019

Functions in rehh (2.0.4)

calc_ehhs

EHHS and iES computations at a given core SNP
bifurcation.diagram

plot of an haplotype bifurcation diagram
calc_ehh

EHH and iHH computations at a given core SNP
scan_hh

Computing EHH based statistics over a whole chromosome
xpehhplot

Plot XP-EHH over a genome
ihsplot

Plot iHS over a genome
make.example.files

Creating example input files
distribplot

Distribution of standardized iHS, Rsb or XP-EHH values
haplohh-class

Class "haplohh"
ies2xpehh

Compute XP-EHH (standardized ratio of iES from two populations) as described in Sabeti et al. (2007)
haplohh_cgu_bta12

Example of an haplohh object
ies2rsb

Compute Rsb (standardized ratio of iES between two populations)
ihh2ihs

Compute iHS (standardized iHH)
data2haplohh

Converting data into an object of class haplohh
rehh-package

Searching for footprints of selection using "Extended Haplotype Homozygosity" based statistics
rsbplot

Plot Rsb over a genome