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


seroanalytics/serosolver documentation built on Dec. 14, 2024, 5:33 a.m.