Description Usage Arguments Value References Examples
This reads a genepop file into R. It was adapted from a similar functionin adegenet.
1 | my.read.genepop(file, ncode = 2L, quiet = FALSE)
|
file |
is the filename of the genpop file. |
quiet |
If quiet = FALSE updates will be printed. If quiet = T status updates will not be printed. |
ncode |
Do not change this argument. |
res |
A dataframe with the Population ID in column 1, the Individual ID in column 2, and the genotypes in columns following that. There is one row per individual. |
http://adegenet.r-forge.r-project.org/
1 2 3 | gfile<-system.file("extdata", "example.genepop.txt",package = 'fsthet')
gpop<-my.read.genepop(gfile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.