mapsEqual: Test if two 'R/qtl' 'map' objects are essentially equal.

Description Usage Arguments Value See Also

View source: R/map.R

Description

This is based on the R/qtl function comparecrosses, and checks that two input map objects are essentially equal, having identical reference sequences, marker names, map unit, and map positions (within the given numeric tolerance).

Usage

1
mapsEqual(map1, map2, tol = 1e-05)

Arguments

map1

An R/qtl map object.

map2

An R/qtl map object.

tol

Numeric tolerance for comparing map positions.

Value

Returns TRUE if the two input map objects are identical within the given tolerance. Otherwise, this function returns a character vector listing observed differences between the two map objects.

See Also

R/qtl manual

Other map utility functions: as.data.frame.mapframe, as.data.frame.map, as.mapframe, as.map, extractMarkers, extractPseudomarkers, findFlanking, findLoci, findMarkers, getMapSteps, getMapUnit, gmapframe, hasMapCSV, inMapOrder, inferMapStep, mapframe, orderMap, readMapCSV, readMapHDF5, readMapframeCSV, setMapUnit, writeMapCSV, writeMapHDF5, writeMapframeCSV


gact/shmootl documentation built on Nov. 11, 2021, 6:23 p.m.