interpolate.markers:
interpolate haplotype or genotype probabilities from one set of markers to another.
Description
Given a matrix of data with markers in rows and data in columns, interpolate the values in each column from the marker spacing in 'from' to the marker spacing in 'to'.
Usage
interpolate.markers(data, from, to)
Arguments
data
Numeric matrix with markers in rows and data in columns. Marker names must be in rownames and must match column 1 of from.
Value
Numeric matrix of values interpolated onto the spacing provided in 'to'.
Details
This function assumes an even and overlapping set of markers in from and to. It may not behave correctly if the marker sets do not overlap.