melt_antigenic_coords: Create useable antigenic map

melt_antigenic_coordsR Documentation

Create useable antigenic map

Description

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.

Usage

melt_antigenic_coords(anti.map.in)

Arguments

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

Value

the euclidean antigenic distance between each pair of viruses in anti.map.in


adamkucharski/serosolver documentation built on March 18, 2024, 6:07 p.m.