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/glads documentation built on April 24, 2020, 11:53 a.m.