Learn R Programming

hierfstat (version 0.5-11)

ms2dos: Import ms output

Description

Import the output of the ms program into suitable format for further manipulation

Usage

ms2dos(fname)

Arguments

fname

a text file containing the output of the ms program

Value

alldat a matrix with as many row as (haploid) individuals and as many columns as SNPs

bim a data frame with two components chr contains the chromosome (replicate) id; pos contains the SNPs posoition on the chromosome