rehh3.2.3 package

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

allelefurcation-class

An S4 class containing furcation trees for one allele of a focal marke...

as.newick

Convert a furcation tree into Newick format

calc_candidate_regions

Determine candidate regions of selection

calc_ehh

EHH and iHH computation for a given focal marker

calc_ehhs

EHHS and iES computation for a given focal marker

calc_furcation

calculate furcation trees around a focal marker

calc_haplen

Calculate length of longest shared haplotypes around a focal marker

calc_pairwise_haplen

Calculate pairwise shared haplotype length between all chromosomes

calc_region_stats

Calculate score statistics for given regions

calc_sfs_tests

Calculate site frequency spectrum test statistics

data2haplohh

Convert data from input file to an object of class haplohh

distribplot

Plot distribution of standardized iHS, Rsb or XP-EHH values

extract_regions

Extract regions from a scan

freqbinplot

Plot of unstandardized iHS within frequency bins

ftree-class

An S4 class to represent a furcation tree on one side of one allele of...

furcation-class

An S4 class representing the complete furcation pattern around a focal...

haplen-class

class for haplotype length

haplohh-class

Class "haplohh"

haplohh2sweepfinder

Translate object of haplohh-class into SweepFinder format

ies2xpehh

Compute XP-EHH

ihh2ihs

Compute iHS

ines2rsb

Compute Rsb

make.example.files

Copy example input files into current working directory

manhattanplot

Manhattan plot of iHS, XP-EHH or Rsb over a genome.

plot.ehh

Plot EHH around a focal marker

plot.ehhs

Plot EHHS around a focal marker

plot.furcation

Plots furcation trees around a focal marker

plot.haplen

Plot the length of extended haplotypes around a focal marker

plot.haplohh

Plot the variants of a haplohh object

rehh-package

rehh: Searching for Footprints of Selection using 'Extended Haplotype ...

remove.example.files

Remove example files from current working directory.

scan_hh_full

Compute iHH, iES and inES over a whole chromosome without cut-offs

scan_hh

Compute iHH, iES and inES over a whole chromosome

subset.haplohh

Subsets object of haplohh-class

update_haplohh

Update object of class haplohh

Population genetic data such as '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. One approach, the concept of an 'Extended Haplotype Homozygosity' (EHH), introduced by (Sabeti 2002) <doi:10.1038/nature01140>, has given rise to several statistics designed for whole genome scans. The package provides functions to compute three of these, namely: 'iHS' (Voight 2006) <doi:10.1371/journal.pbio.0040072> for detecting positive or 'Darwinian' selection within a single population as well as 'Rsb' (Tang 2007) <doi:10.1371/journal.pbio.0050171> and 'XP-EHH' (Sabeti 2007) <doi:10.1038/nature06250>, targeted at differential selection between two populations. Various plotting functions are included to facilitate visualization and interpretation of these statistics.

  • Maintainer: Alexander Klassmann
  • License: GPL (>= 2)
  • Last published: 2026-01-30