Learn R Programming

MareyMap (version 1.2)

MMSpline3-class: Class "MMSpline3" Interpolation using cubic splines

Description

MMSPline3 is a S4 class providing an interpolation method for MareyMap. Interpolation is done using cubic splines. The class uses smooth.spline to carry out the interpolation.

Arguments

Objects from the Class

Objects can be created by calls of the form new("MMSpline3", ...). However you may instead use the function MMSpline3() and adjust the parameters afterwards using the accessor functions.

Extends

Class "Interpolation", directly.

See Also

smooth.spline Interpolation-class MareyMap-class

Examples

Run this code
data(Homo_sapiens_mean)
human7 <- Homo_sapiens_mean[["Chromosome 07"]]
itr1 <- MMSpline3()
color(itr1) <- "red"
spar(itr1) <- 0.05
human7 <- human7 + itr1
plot(human7)

Run the code above in your browser using DataLab