write.fstat | R Documentation |
Write a data frame to a text file in the fstat data format, see read.fstat
write.fstat(dat,fname="genotypes.dat")
dat |
A data frame with first column containing the population identifier and remaining columns containing genotypes |
fname |
The name of teh text file to which the data frame should be written |
None
Jerome Goudet
Goudet J. (1995). FSTAT (Version 1.2): A computer program to calculate F- statistics. Journal of Heredity 86:485-486
## Not run: data(gtrunchier) write.fstat(gtrunchier[,-1],"galba.dat") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.