read_macs_output: read ms-formatted MaCS output into a matrix of haplotypes.

Description Usage Arguments

View source: R/RcppExports.R


This is implemented in Rcpp for speed. It is designed to read a single replicate coalescent simulation in macs' msformatter format and convert the 0/1's to 1/2's and return in a big integer matrix of haplotypes that can then be put together as desired later. (i.e. different pops and into different diploid individuals)





the path to the mac | msformatter output file to read in. Note that tilde expansion will not occur on this path

eriqande/gids documentation built on May 13, 2017, 8:21 p.m.