ms2dos: Import 'ms' output

View source: R/readmsb.R

ms2dosR Documentation

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


hierfstat documentation built on May 6, 2022, 1:05 a.m.