This packages provides an interpolation method that estimates the recombination rates using loess
.
For more details on how this method works, see loess
.
Objects can be created by calls of the form new("MMLoess", ...)
or simply by calling MMLoess()
.
span
:Object of class "numeric"
, parameters that controls the degree of smoothing.
degree
:Object of class "integer"
, the degree of the polynomials to be used, up to 2.
model
:Object of class "ANY"
name
:Object of class "character"
, name of the interpolation.
color
:Object of class "character"
, color of the interpolation on the map.
physicalPositions
:Object of class "vector"
, physical positions of the markers of the map on which the interpolation is calculated.
rates
:Object of class "vector"
, the local estimation of the recombination rate at the position of each markers.
visible
:Object of class "logical"
, whether the interpolation should be plotted or not.
persistent
:Object of class "logical"
, whether the interpolation should be saved along with the map in the text file
Class "Interpolation"
, directly.
signature(object = "MMLoess")
: see Interpolation-class
.
signature(object = "MMLoess")
: changes the degree of the polynomials.
signature(object = "MMLoess")
: returns the degree of the polynomials.
signature(object = "MMLoess", map = "MareyMap")
: see Interpolation-class
.
signature(object = "MMLoess")
: see Interpolation-class
.
signature(object = "MMLoess")
: see Interpolation-class
.
signature(object = "MMLoess", pos = "numeric")
: see Interpolation-class
.
signature(object = "MMLoess")
: changes the value of the span.
signature(object = "MMLoess")
: returns the value of the span.
signature(object = "MMLoess")
: see Interpolation-class
.
Aurélie Siberchicot aurelie.siberchicot@univ-lyon1.fr and Clément Rezvoy
loess
Interpolation-class
data(Homo_sapiens_male)
chr7 <- Homo_sapiens_male[["Chromosome 07"]]
itr1 <- MMLoess()
color(itr1) <- "red"
span(itr1) <- 0.05
chr7 <- chr7 + itr1
Run the code above in your browser using DataLab