hasTimeSeriesPhenotypes: Test if 'cross' contains time-series phenotypes.

Description Usage Arguments Value Time-Series Phenotypes See Also

View source: R/cross.R

Description

Test if cross contains time-series phenotypes.

Usage

1
hasTimeSeriesPhenotypes(cross, allow.gaps = TRUE, tol = 1e-05)

Arguments

cross

An R/qtl cross object.

allow.gaps

Allow gaps in time series, provided that any gaps are a multiple of the inferred time step.

tol

Tolerance for time step equality.

Value

TRUE if cross seems to have time-series phenotypes, given the specified constraints; FALSE otherwise.

Time-Series Phenotypes

A set of phenotypes can be designated as a time-series by naming each phenotype with the time point at which phenotype observations were made (e.g. '0.0', '1.0', '2.0'). Time points can be in any unit, but must be non-negative, monotonically increasing, and have a consistent time step. If some time points are missing, the resulting gap in time must be a multiple of the time step.

See Also

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

Other time-series functions: inferTimeStep, interpTimeSeries, padTimeSeries


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