MS_getStats: Get the simulated MS/MSMS statistics

View source: R/MS_getStats.R

MS_getStatsR Documentation

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


# GENOME.class <- readData("...\Alignments")
# GENOME.class <- neutrality.stats(GENOME.class)
# ms <- MS(GENOME.class,thetaID="Tajima",neutrality=TRUE)
# MS_getStats(ms)


pievos101/PopGenome documentation built on Feb. 24, 2023, 7:11 a.m.