crossesEqual: Test if two 'R/qtl' 'cross' objects are essentially equal.

Description Usage Arguments Value See Also

View source: R/cross.R

Description

This uses the R/qtl function comparecrosses to check if two input cross objects are essentially equal, with key elements being identical, and numeric values being equal (within the given tolerance).

Usage

1
crossesEqual(cross1, cross2, tol = 1e-05)

Arguments

cross1

An R/qtl cross object.

cross2

An R/qtl cross object.

tol

Tolerance for comparing numeric values.

Value

Returns TRUE if the two input cross objects are essentially equal. Otherwise, this function returns a character vector describing an observed difference between the two cross objects.

See Also

R/qtl manual

Other cross object functions: getIdColIndex, getPhenoColIndices, hasTimeSeriesPhenotypes, inferStrainIndices, inferTetradIndices, inferTimeStep, interpTimeSeries, padTimeSeries, permCross, permIndices, pull.alleles, pull.chr, pull.crosstype, pull.ind, readCrossCSV, readCrossHDF5, writeCrossCSV, writeCrossHDF5


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