hierfstat0.5-11 package

Estimation and Tests of Hierarchical F-Statistics

matching

Estimates matching between pairs of individuals

ms2bed

Import the output of the ms program in a BED object

ms2dos

Import ms output

nb.alleles.rd

Number of different alleles

pairwise.betas

Estimates pairwise betas according to Weir and Goudet (2017)

pairwise.neifst

Estimates pairwise FSTs according to Nei (1987)

pairwise.WCfst

Estimates pairwise FSTs according to Weir and Cockerham (1984)

pcoa.rd

Principal coordinate analysis

pi.dosage

Estimates nucleotide diversity (π\pi) from dosage data

pop.freq

Allelic frequencies

pp.sigma.loc.rd

wrapper to return per locus variance components

ppfst.rd

fst per pair

print.pp.fst.rd

print function for pp.fst

AIc

Calculates corrected Assignment Index

allele.count.rd

Allelic counts

allelic.richness.rd

Estimates allelic richness

basic.stats

Basic diversity and differentiation statistics

beta.dosage

Estimates pairwise kinships and individual inbreeding coefficients fro...

betas

Estimates β\betas per population and a bootstrap confidence interval

biall2dos

Converts bi-allelic SNPs from hierfstat format to dosage format

boot.ppbetas

Estimates bootstrap confidence intervals for pairwise betas FST estima...

boot.ppfis.rd

Performs bootstrapping over loci of population's Fis

boot.ppfst.rd

Performs bootstrapping over loci of pairwise Fst

boot.vc

Bootstrap confidence intervals for variance components

fs.dosage

Estimates F-statistics from dosage data

fstat2dos

Converts a hierfstat genetic data frame to dosage data

g.stats.glob

Likelihood ratio G-statistic over loci

g.stats

Calculates likelihood-ratio G-statistic on contingency table

genet.dist

Classical genetic distances estimation

genind2hierfstat

Converts genind objects from adegenet into a hierfstat data frame

genot2al

Separates diploid genotypes in its constituant alleles

getal.b

Converts diploid genotypic data into allelic data

getal

Converts diploid genotypic data into allelic data

grm2kinship

Converts a Genetic Relationship Matrix (GRM) to a kinship matrix

hierfstat

General information on the hierfstat package

ind.count

individual counts

indpca.rd

PCA on a matrix of individuals genotypes frequencies

kinship2dist

Converts a kinship matrix to a distance matrix

kinship2grm

Converts a kinship matrix to a Genetic Relation Matrix (GRM)

kinshipShift

Shifts a kinship matrix

mat2vec

Creates a vector from a matrix

qn2.read.fstat

Read QuantiNemo extended format for genotype filesRead QuantiNemo ([ht...

read.fstat.data

Reads data from a FSTAT file

read.fstat.rd

Reads data from a FSTAT file

read.ms

Read data generated by Hudson ms programRead data generated by [Hudson...

read.VCF

Reads a VCF file into a BED object

samp.between

Shuffles a sequence among groups defined by the input vector

samp.between.within

Shuffles a sequence

samp.within

Shuffles a sequence within groups defined by the input vector

sexbias.test

Test for sex biased dispersal

sim.freq.rd

Simulates frequencies, for internal use only

sim.genot.metapop.t

Simulate genetic data from a metapopulation model

sim.genot.rd

Simulates genotypes in an island model at equilibrium

sim.genot.t

Simulate data from a non equilibrium continent-island model

subsampind.rd

Subsample a FSTAT data frame

TajimaD.dosage

Estimates Tajima's D

test.between

Tests the significance of the effect of test.lev on genetic differenti...

test.between.within

Tests the significance of the effect of test.lev on genetic differenti...

test.g

Tests the significance of the effect of level on genetic differentiati...

test.within

Tests the significance of the effect of inner.level on genetic differe...

theta.Watt.dosage

Estimates θWatterson\theta_{Watterson} from dosage data

varcomp.glob

Estimate variance components and hierarchical F-statistics over all lo...

varcomp

Estimates variance components for each allele of a locus

vec2mat

Fills a triangular matrix from the inputed vector

wc.rd

Computes Weir and Cockrham estimates of Fstatistics

write.bayescan

Writes a bayescan file

write.ped

Write ped file for analyses with PLINK

write.struct.rd

Write structure file

writefstat.rd

Write an Fstat data file

Estimates hierarchical F-statistics from haploid or diploid genetic data with any numbers of levels in the hierarchy, following the algorithm of Yang (Evolution(1998), 52:950). Tests via randomisations the significance of each F and variance components, using the likelihood-ratio statistics G (Goudet et al. (1996) <https://academic.oup.com/genetics/article/144/4/1933/6017091>). Estimates genetic diversity statistics for haploid and diploid genetic datasets in various formats, including inbreeding and coancestry coefficients, and population specific F-statistics following Weir and Goudet (2017) <https://academic.oup.com/genetics/article/206/4/2085/6072590>.

  • Maintainer: Jerome Goudet
  • License: GPL (>= 2)
  • Last published: 2022-05-05