Learn R Programming

PopGenome (version 2.1.6)

Achaz.stats-methods: Achaz statistic

Description

Achaz statistic

Usage

## S3 method for class 'GENOME':
Achaz.stats(object,new.populations=FALSE,new.outgroup=FALSE,subsites=FALSE)

Arguments

object
an object of class "GENOME"
new.populations
list of populations. default:FALSE
new.outgroup
outgroup vector. default:FALSE
subsites
"transitions": SNPs that are transitions. "transversions": SNPs that are transversions. "syn": synonymous sites. "nonsyn": nonsynonymous sites. "exon": SNPs in exon regions. "int

Value

  • returned value is a modified object of class "GENOME" -------------------------------------------------------------- The following Slots will be modified in the "GENOME" object --------------------------------------------------------------
  • YachAchaz Y statistic

References

Achaz G.,2008 Testing for neutrality in samples with sequencing errors. Genetics 179: 1409.

Examples

Run this code
# GENOME.class <- readData("\home\Alignments")
# GENOME.class
# GENOME.class <- Achaz.stats(GENOME.class)
# GENOME.class <- Achaz.stats(GENOME.class,list(1:7,8:12))
# show the result:
# GENOME.class@Yach

Run the code above in your browser using DataLab