herring: An example dataset of Atlantic herring.

Description Usage Format References See Also Examples

Description

An example of a genetic data for Atlantic herring population (Limborg et al. 2012). It contains genotypic information of 281 SNPs from 18 subpopulations of 607 individuals. GENEPOP format (Rousset 2008) text file is available. Subpopulation names, environmental factors (temperature and salinity) at each subpopulation and geographic distance (shortest ocean path) among subpopulations also are attached.

Usage

1
data("herring")

Format

$ genepop : Genotypic information of 281 SNPs in GENEPOP format text data.
$ popname : Names of subpopulations.
$ environment : Table of temperature and salinity at each subpopulation.
$ distance : Matrix of geographic distance (shortest ocean path) among subpopulations.
$ popdata : Genotype data object of this herring data created by read.genepop function.
$ fst.bootstrap : Bootstrapped Fst estimations of this herring data generated by FstBoot function.
$ fst.env : Regression analysis of environmental effects on genetic differentiation of this herring data generated by FstEnv function.

References

Limborg MT, Helyar SJ, de Bruyn M et al. (2012) Environmental selection on transcriptome-derived SNPs in a high gene flow marine fish, the Atlantic herring (Clupea harengus). Molecular Ecology, 21, 3686-3703.

Rousset F (2008) Genepop'007: a complete reimplementation of the Genepop software for Windows and Linux. Mol. Ecol. Resources, 8, 103-106.

See Also

read.genepop, FstBoot, FstEnv

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(herring)
cat(herring$genepop, file="AH_genepop.txt", sep="\n")
cat(herring$popname, file="AH_popname.txt", sep=" ")
# See two text files in your working directory.
#  AH_genepop.txt  : GENEPOP format file of 281SNPs in 18 subpopulations
#  AH_popname.txt  : plain text file of subpopulation names

# herring$popdata = read.genepop(genepop="AH_genepop.txt", popname="AH_popname.txt")
# herring$fst.bootstrap = FstBoot(herring$popdata)
# herring$fst.env = FstEnv(herring$fst.bootstrap, herring$environment, herring$distance)

FinePop documentation built on May 22, 2018, 5:07 p.m.