Skip to contents

Creates a matrix with the specified VoCs and mutation names, but randomly applies mutations. A future version of this function may be useful for simulating mutations in a more meaningful way, but for now it's only useful for testing purposes.

Usage

simulate_lineage_defs(
  lins = c("BA.1", "BA.2", "B.1.1.529"),
  mutations = c("m3037T", "m22599A", "d221943", "i22205GAGCCAGAA", "m24469A", "d219879",
    "m241T")
)

Arguments

lins

Names of lineages

mutations

Names of mutations

Value

A properly structured lineage definitions matrix (with rownames and colnames).