interpolate.markers: interpolate haplotype or genotype probabilities from one set...

Description Usage Arguments Details Value Author(s) Examples

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

1

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.

itemfrom Data frame containing at least three columns with marker names, chromosome and position in columns 1, 2 & 3, respectively. itemto Data frame containing at least three columns with marker names, chromosome and position in columns 1, 2 & 3, respectively.

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.

Value

Numeric matrix of values interpolated onto the spacing provided in 'to'.

Author(s)

Daniel Gatti

Examples

1
2
3
4
  ## Not run: 
    interpolate.markers(data, from, to)
  
## End(Not run)

DOQTL documentation built on May 6, 2019, 3:09 a.m.