Learn R Programming

PopGenome (version 2.7.5)

MS_getStats: Get the simulated MS/MSMS statistics

Description

This function extracts the simulated values from the class cs.stats

Usage

MS_getStats(object,locus=1,population=1)

Arguments

object

object of class "cs.stats"

locus

the locus ID

population

the population ID

Value

The return value is a matrix containing the simulation results of different statistical tests. (see MS())

Examples

Run this code
# NOT RUN {
# GENOME.class <- readData("...\Alignments")
# GENOME.class <- neutrality.stats(GENOME.class)
# ms <- MS(GENOME.class,thetaID="Tajima",neutrality=TRUE)
# MS_getStats(ms)

# }

Run the code above in your browser using DataLab