Learn R Programming

MareyMap (version 1.3.1)

MMSlidingWindow-class: Class "MMSlidingWindow" Interpolation method plug-in for MareyMap

Description

This package provides an interpolation method that estimates the recombination rates using a sliding window approach.

Arguments

Objects from the Class

Objects can be created by calls of the form new("MMSlidingWindow", ...) or using the method SlidingWindow().

Slots

size:
Object of class "integer", the size of the windows in base pairs
shift:
Object of class "integer", the distance in number of base pairs between the centers of two consecutive windows.
threshold:
Object of class "integer" minimum number of markers in a window to perform the regression
results:
Object of class "vector" position of the model curve estimated at the center f each window.
name:
Object of class "character" see Interpolation-class
color:
Object of class "character" see Interpolation-class
physicalPositions:
Object of class "vector" see Interpolation-class
rates:
Object of class "vector" see Interpolation-class
visible:
Object of class "logical" see Interpolation-class
persistent:
Object of class "logical" see Interpolation-class
geneticalDistances:

Extends

Class "Interpolation", directly.

Methods

createOrder
signature(object = "MMSlidingWindow"): see Interpolation-class
interpolate
signature(object = "MMSlidingWindow", map = "MareyMap"): see Interpolation-class
plotModel
signature(object = "MMSlidingWindow"): see Interpolation-class
plotRate
signature(object = "MMSlidingWindow"): see Interpolation-class
query
signature(object = "MMSlidingWindow", pos = "numeric"): see Interpolation-class
shift<-
signature(object = "MMSlidingWindow"): updates the value of the parameter shift
shift
signature(object = "MMSlidingWindow"): returns the value of the parameter shift
size<-
signature(object = "MMSlidingWindow"): updates the value of the parameter size
size
signature(object = "MMSlidingWindow"): returns the value of the parameter size
threshold<-
signature(object = "MMSlidingWindow"): updates the value of the parameter threshold
threshold
signature(object = "MMSlidingWindow"): returns the value of the parameter threshold
userParam
signature(object = "MMSlidingWindow"): see Interpolation-class

See Also

Interpolation-class

Examples

Run this code
data(Homo_sapiens_mean)
human7 <- Homo_sapiens_mean[["Chromosome 07"]]
itr1 <- MMSlidingWindow()
color(itr1) <- "red"
size(itr1) <- 5000000
shift(itr1) <- 1000000
human7 <- human7 + itr1
plot(human7)

Run the code above in your browser using DataLab