run_ms | R Documentation |
run_ms()
executes ms as an external program.
parse_ms()
transforms ms-like output into a list of matrices.
split_ms()
splits ms-like output by replications.
as_int_matrix()
converts a string vector into an integer matrix.
run_ms(nsam = 4L, nreps = 2L, theta = 5)
parse_ms(msout, byrow = FALSE)
split_ms(msout)
as_int_matrix(samples, byrow = FALSE)
nsam |
number of samples |
nreps |
number of repeats |
theta |
population mutation rate |
msout |
string vector of ms-like output |
byrow |
logical value passed to |
samples |
string vector |
run_ms()
returns a string vector
parse_ms()
returns a list of integer matrices
split_ms()
returns a list of string vector
as_int_matrix()
returns an integer matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.