Description Usage Arguments Details Value Author(s) References See Also Examples
This function calls Bayescan program from within R to identifying candidate loci under natural selection from genetic data.
1 |
mat |
A matrix with genotypic data to test in hybridsim format |
filename |
a character string giving the name of the output file (without extension) |
nbp |
Number of pilot runs (default is 2) |
pilot |
Length of pilot runs (default is 50) |
burn |
Burnin length (default is 5000) |
exec |
a character string giving the path to BAYESCAN. By default it tries to guess it depending on the operating system (see details). |
bayescan
tries to guess the name of the executable program depending on the operating system. Specifically, the followings are used: "bayescan_2.1" under Linux and Mac, or "C:/Program Files/BayeScan2.1/binaries/BayeScan2.1_win32bits_cmd_line.exe" under Windows.
Several files with the results and a data.frame with the following variables:
prob |
The posterior probability for the model including selection |
log10.PO. |
The logarithm of Posterior Odds to base 10 |
qval |
q-values for each locus for the model including selection |
alpha |
The estimated alpha coefficient indicating the strength and direction of selection. See Bayescan 2.1 manual |
fst |
The Fst coefficient averaged over populations |
F. Balao fbalao@us.es, J.L. GarcÃa-Castaño
Foll, M. & O. Gaggiotti. 2008. A genome-scan method to identify selected loci appropriate for both dominant and codominant markers: a Bayesian perspective. Genetics 180: 977-993.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.