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 manipulations

Usage

ms2dos(fname,chrom=NULL)

Arguments

fname

a text file containing the output of the ms program

chrom

the chromosomes (replicates) to be imported. default to all

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 positions on the chromosome


jgx65/hierfstat documentation built on April 20, 2023, 8:34 a.m.