Learn R Programming

abcrf (version 1.2)

snp: A simulated example in population genetics

Description

The simulated example of population genetics using SNP loci in Pudlo et al. (2015): snp contains the reference table on which to perform ABC model choice. snp.obs contains two pseudo-observed data sets. The first one (favorable) should be easily allocated to a model, while the second one (unfavorable) is designed to be more tricky to allocate to a model.

Usage

data(snp)
data(snp.obs)

Arguments

format

snp is a data frame containing an ABC reference table of 20,000 simulations from a Bayesian prior predictive model (see Pudlo et al., 2015, for a description of the model choice issue). The first column, named modindex is a factor containing the model indices. The other columns represent the summary statistics.

snp.obs is a data frame with the summary statistics of two pseudo-observed data sets.

source

Pudlo, P., Marin, J.-M., Estoup, A., Cornuet, J.-M., Gautier, M., & Robert, C. P. (2015). Reliable ABC model choice via random forests. Bioinformatics. http://bioinformatics.oxfordjournals.org/content/early/2015/12/23/bioinformatics.btv684

Examples

Run this code
data(snp)
data(snp.obs)

Run the code above in your browser using DataLab