Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

write.bayescan

Writes a bayescan file


Description

write the genotypes in a format suitable for analysis with bayescan

Usage

write.bayescan(dat=dat,diploid=TRUE,fn="dat.bsc")

Arguments

dat

a genotype data frame

diploid

whether the dataset is diploid or haploid

fn

file name for output

Value

a text file fn is written in the current directory

Author(s)

Jerome Goudet jerome.goudet@unil.ch

References


hierfstat

Estimation and Tests of Hierarchical F-Statistics

v0.5-10
GPL (>= 2)
Authors
Jerome Goudet [aut, cre], Thibaut Jombart [aut], Zhian N. Kamvar [ctb], Eric Archer [ctb], Olivier Hardy [ctb]
Initial release
2021-11-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.