Learn R Programming

PopGenome (version 2.1.6)

readMS: Read output data from MS and MSMS

Description

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

Usage

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

Run this code

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

Run the code above in your browser using DataLab