Learn R Programming

MareyMap (version 1.2)

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().

Extends

Class "Interpolation", directly.

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