Converts relationship graph to an igraph
object
Arguments
- RG
Relationship graph output by
enumerate_RGs
withigraph=FALSE
.- gs
Vector of genotype names.
- ts_per_gs
Vector of infection numbers for each genotype. This can be inferred from the data
y
usingrep(1:length(y), determine_MOIs(y))
.