This is a utility function to help standardise antigen names into a more consistent format, also attempting to break apart different components of the name.

standardizeStrainNames(
  names,
  default_species = NA,
  default_virus_type = "A",
  default_virus_subtype = "HXNX"
)

Arguments

names

Strain names to be standardised

default_species

Are the strains isolated from a particular species?

default_virus_type

Default virus type to be used (if no type found in name)

default_virus_subtype

Default virus subtype to be used (if no subtype found in name)

Value

Returns a tibble of standardised names and extracted information