Antigen database
The antigen database is ultimately stored as a json file with fields:
id
strain
long
aliases
wildtype
type
subtype
lineage
isolation
genes
parent_id
alterations
passage
comments
groups
meta
Not all fields are filled for all antigens.
In R, this is converted to a list of environments (see ?ag) with the above fields, plus:
A ag$.parent entry, which is the database entry for the parent antigen (defined by the backbone).
ag$alteration$.parent entries for each gene that is not inherited from ag$.parent (for recombinant viruses).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.