melt_antigenic_coords | R Documentation |
Creates an antigenic map from an input data frame that can be used to calculate cross reactivity. This will end up being an NxN matrix, where there are N strains circulating.
melt_antigenic_coords(anti.map.in)
anti.map.in |
can either be a 1D antigenic line to calculate distance from, or a two dimensional matrix with x and y coordinates on an antigenic map |
the euclidean antigenic distance between each pair of viruses in anti.map.in
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.