Description Usage Arguments Value Examples
This calcualtes global Fsts from a genepop dataframe and then does: calculates smoothed quantiles plots the Heterozygosity-Fst relationship with smoothed quantiles outputs the loci lying outside the quantiles. Returns a data frame containing Locus ID, Ht, Fst, and a true/false value of whether it's an outlier.
1 |
gpop |
Provide the genepop dataframe (from my.read.genepop). |
fst.choice |
Specify which type of fst calculation should be used. See fst.options.print for the choices. |
alpha |
The alpha value for the quantiles (default is 0.05 to generate 95 percent quantiles). |
fsts |
This returns a dataframe with Locus, Ht, Fst, and True/False of whether it's an outlier. |
1 2 3 4 5 6 7 |
## Not run:
gfile<-system.file("extdata", "example.genepop.txt",package = 'fsthet')
gpop<-my.read.gpop(gfile)
out.dat<-fsthet(gpop)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.