get_effective_coi | R Documentation |
From a single host in a SWF Simulation, extract the effective COI
for loci within the ARG. Effective COI is defined as the number of non-coalesced genomes
at the end of tlim
. Note, this framework is an independent process for each recombination event
and thus will vary along the simulated genome (but not necessarily by locus).
get_effective_coi(swf, host_index = NULL)
swf |
result of forwards simulation using the function |
host_index |
a vector of target hosts. Defaults to all hosts |
Function limited to a single host per "realization"
vector of effective COI by loci
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.