Writes a bayescan file
write the genotypes in a format suitable for analysis with bayescan
write.bayescan(dat=dat,diploid=TRUE,fn="dat.bsc")
dat
: a genotype data framediploid
: whether the dataset is diploid or haploidfn
: file name for outputa text file fn is written in the current directory
c("Foll M and OE Gaggiotti (2008) \n", " Genetics 180: 977-993")
http://cmpg.unibe.ch/software/BayeScan/
Jerome Goudet jerome.goudet@unil.ch
Useful links