Learn R Programming

PopGenome (version 1.2.6)

getBayes-methods: Get values for BayeScanR

Description

This function returns the values, that are necessary for BayeScanR.

Usage

## S3 method for class 'GENOME':
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