Get ppopulation strain information
pop_strains_df(
statePtr,
seed,
sample_size = 0,
sample_states = 0:5,
ibd = FALSE
)
Universe state pointer
The random seed. Probably not needed but was here for debugging radnomness.
Number of indiviudals to sample. Default = 0, which samples everyone.
Numeric vector for which sample states are to be sampled from Default = 0:5, which is all states.
Boolean for whether the siulation is an IBD one.
R side wrapper for c++ functions that loop through the population
retrieving information about their strains using the universe state ptr.
The resulting data frame is then passed to COI_df_create
.