View source: R/interpolate.markers.R View source: R/interploate.markers.R
interpolate.markers | R Documentation |
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'.
interpolate.markers(data, from, to)
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.
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.
Numeric matrix of values interpolated onto the spacing provided in 'to'.
Daniel Gatti
## Not run:
interpolate.markers(data, from, to)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.