segments_to_strain: turns a list of segment indices into a strain number

Description Usage Arguments Value

Description

turns a list of segment indices into a strain number

Usage

1

Arguments

idx

numeric vector of length 2, where each entry is 1 or 0: 1 in the first entry indicates MT PB1, 1 in the second entry indicates MT PA

Value

the strain number of the virion – MM = 1, MW = 2, WM = 3, WW = 4


ada-w-yan/reassortment documentation built on April 10, 2021, 12:03 a.m.