write.bayescan: Writes a bayescan file

View source: R/writebayescan.R

write.bayescanR Documentation

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

Foll M and OE Gaggiotti (2008) Genetics 180: 977-993

http://cmpg.unibe.ch/software/BayeScan/


hierfstat documentation built on May 6, 2022, 1:05 a.m.