ms2dos: Import 'ms' output

Description Usage Arguments Value

View source: R/readmsb.R

Description

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

Usage

1
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


hierfstat documentation built on Nov. 17, 2021, 5:08 p.m.