Learn R Programming

PopGenome (version 2.1.6)

getBayes-methods: Get values for BayeScanR

Description

This function returns the values that are necessary to run BayeScanR.

Usage

"getBayes"(object,snps=FALSE)

Arguments

object
An object of class "GENOME"
snps
SNPs are considered seperately

Value

coming soon !

References

Foll M and OE Gaggiotti (2008). A genome scan method to identify selected loci appropriate for both dominant and codominant markers: A Bayesian perspective. Genetics 180: 977-993

Examples

Run this code

# GENOME.class <- readData("\home\Alignments")
# GENOME.class <- F_ST.stats(GENOME.class,list(1:4,5:10))
# Bayes.input  <- getBayes(GENOME.class)
# Bayes.class  <- BayeScanR(Bayes.input)

Run the code above in your browser using DataLab