These functions attempt to estimate leverage of each antigen, sera or titer by removing it from the data, relaxing the map, then calculating the rmsd of the procrustes comparison between the original and newly relaxed map. Column bases will be recalculated unless you have specified them as fixed with fixedColBases().

agLeverage(map, antigens = TRUE, sera = TRUE)

srLeverage(map, antigens = TRUE, sera = TRUE)

titerLeverage(map, antigens = TRUE, sera = TRUE)

Arguments

map

An acmap object

antigens

Antigens to include when calculating the rmsd of the procrustes (specified by name or index or TRUE/FALSE for all/none)

sera

Sera to include when calculating the rmsd of the procrustes (specified by name or index or TRUE/FALSE for all/none)

Value

Returns a numeric vector of the leverage calculated for each of the points.