herring {FinePop} | R Documentation |
An example dataset of Atlantic herring.
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
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
Examples
data(herring)
ah.genepop.file <- tempfile()
ah.popname.file <- tempfile()
cat(herring$genepop, file=ah.genepop.file, sep="\n")
cat(herring$popname, file=ah.popname.file, sep=" ")
# See two text files in temporary directory.
# ah.genepop.file : GENEPOP format file of 281SNPs in 18 subpopulations
# ah.popname.file : plain text file of subpopulation names
print(herring$environment)
# 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)