interpTimeSeries: Interpolate gaps in a time-series.

Description Usage Arguments Value Time-Series Phenotypes See Also

View source: R/cross.R

Description

Interpolate values for gaps in time-series phenotypes of a cross object.

Usage

1
interpTimeSeries(cross, tol = 1e-05)

Arguments

cross

An R/qtl cross object.

tol

Tolerance for time step equality.

Value

The input cross object is returned with gaps in time-series phenotypes filled with values interpolated from the gap endpoints.

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, hasTimeSeriesPhenotypes, inferStrainIndices, inferTetradIndices, inferTimeStep, padTimeSeries, permCross, permIndices, pull.alleles, pull.chr, pull.crosstype, pull.ind, readCrossCSV, readCrossHDF5, writeCrossCSV, writeCrossHDF5

Other time-series functions: hasTimeSeriesPhenotypes, inferTimeStep, padTimeSeries


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