Description Usage Arguments Value Author(s) References Examples
View source: R/PostSamp_Neutral.R
Estimates the Fst parameter using the 'null model' under the approach developed by Gianola et al. (2010) to infer selection signatures using genomic data from diploid individuals
1 | PostSamp_Neutral(Data,Prior=c(1/2,1/2),N.Samples,Pop.col,Geno.cols)
|
Data |
A data frame or matrix containing genotypic data from m markers as well as a column indicating the subpopulation to which the individual belongs. Subpopulations must be coded using consecutive integer numbers starting from 1. |
Prior |
A vector of dimension 2 containing the values of model hyperpameters (positive real numbers). The default value is (1/2,1/2). |
N.Samples |
Integer corresponding to the number of samples used to perform the Monte Carlo estimation of the Fst parameter. |
Pop.col |
Integer indicating the column that contains the subpopulation each individual belongs to. |
Geno.cols |
Vector containing the columns corresponding to genotypes in the input dataset. |
A list containing two elements. Theta.samples. Matrix of dimension (number of markers) X N.Samples containing each sample used to compute the Monte Carlo estimate of Fst. PosteriorMeans. Vector of dimension equal to the number of markers containing the Monte Carlo estimates of Fst under the 'null model'.
Carlos Alberto Martínez Niño (cmartinez@agrosavia.co).
Gianola, D., Simianer, H., Qanbari, S. 2010. A two-step method for detecting selection signatures using genetic markers. Genetic Research Cambridge, 92; 141-155.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.