readMS: Read output data from MS and MSMS

Description Usage Arguments Value References Examples

View source: R/readMS.R

Description

This function reads data produced from the coalescent simulation programs
MS (Hudson, 2002 ) and MSMS (Greg, 2010)

Usage

1
readMS(file,big.data=FALSE)

Arguments

file

the basepath of the MS/MSMS output

big.data

The ff package is used

Value

An object of class GENOME

References

Hudson, R. R. (2002). Generating samples under a Wright-Fisher neutral model of genetic variation. Bioinformatics 18: 337-338

Gregory Ewing and Joachim Hermisson, MSMS: A Coalescent Simulation Program Including Recombination, Demographic Structure, and Selection at a Single Locus. Bioinformatics 2010, doi: 10.1093/bioinformatics/btq322

Examples

1
2
# GENOME.class <- readMS("ms.output.txt")
# GENOME.class@region.names

PopGenome documentation built on Feb. 1, 2020, 1:07 a.m.