ptLeverage {Racmacs} | R Documentation |
Calculate point leverage
Description
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()
.
Usage
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.
See Also
Other map diagnostic functions:
agCohesion()
,
bootstrapBlobs()
,
bootstrapMap()
,
checkHemisphering()
,
dimensionTestMap()
,
logtiterTable()
,
map-table-distances
,
mapBootstrapCoords
,
mapDistances()
,
mapRelaxed()
,
mapResiduals()
,
pointStress
,
ptBootstrapBlob
,
ptBootstrapCoords()
,
ptTriangulationBlob
,
recalculateStress()
,
stressTable()
,
tableColbases()
,
tableDistances()
,
triangulationBlobs()
,
unstableMaps