parse_ms: Parse MS output from R

Usage Arguments

Usage

1

Arguments

x

character vector output from MS

Parse MS output from a character vector of lines of output to a tidy tibble. Each replicate is a row, with a list-column for positions and a matrix of gamete states.

A tree column will be added if ms is run with -T (or, through command line arguments, T="".

You can use the purrr package to write map functions to summarize the list-column of gametes.

importFrom(magrittr,"

Parse MS output from R call_ms(10, 10, "-t 5") %>% parse_ms()


vsbuffalo/msr documentation built on May 3, 2019, 7:07 p.m.