ms2bed: Import the output of the 'ms' program in a 'BED' object

View source: R/readmsb.R

ms2bedR Documentation

Import the output of the ms program in a BED object

Description

Import the output of the ms program into a BED object, as defined in the gaston package

Usage

ms2bed(fname,chrom=NULL)

Arguments

fname

the name of the text file containing ms output

chrom

the number of chromosomes (replicates) to import (default to all)

Details

ms2bed relies on ms2dos. The population identifier is in bed@ped$famid

Value

a bed object


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