This is the difference between the table distance and the map distance

mapResiduals(map, exclude_nd = FALSE, optimization_number = 1)

map | The acmap object |
---|---|

exclude_nd | Should values associated with non-detectable measurements like <10 be set to NA |

optimization_number | The optimization number |

Returns a matrix of residuals, showing the residual error between map distance and table distance for each antigen-sera pair.

Other map diagnostic functions
functions relating to map stress calculation:
`logtiterTable()`

,
`mapDistances()`

,
`pointStress`

,
`recalculateStress()`

,
`stressTable()`

,
`tableColbases()`

,
`tableDistances()`