new("MMSpline3", ...).
However you may instead use the function MMSpline3() and adjust
the parameters afterwards using the accessor functions.type:"character" indicate which type of smoothing is applied, applicable values are "cross-validation", "spar" and "degree of freedom"gcv:"logical" indicating whether generalized cross validation is to be used when smoothing via cross validation. df:"numeric" holding the degree of freedom to use when the smoothing is done using degree of freedomspar:"numeric" value of the "spar" to be taken when smoothing the "spar" method.model:"ANY" slot used to keep the smooth.spline object after the interpolation. name:"character" holding the name of the interpolation.color:"character" holding the color of the interpolationphysicalPositions:"vector" holding the valid physical positions of the map on which the interpolation is applied.rates:"vector" holding the local recombination rates at the position of each marker.visible:"logical" indicating whether the interpolation is to be drawn or not. persistent:"logical" indicating whether or not the interpolation should be taken into account when saving to text file."Interpolation", directly.signature(object = "MMSpline3", value = "numeric"): Changes the value of the degree of freedom.signature(object = "MMSpline3"): returns the value of the degree of freedom.signature(object = "MMSpline3", value = "logical"): Turns on or off the generalized cross validation.signature(object = "MMSpline3"): indicates whether the generalized cross validation is on or not.signature(object = "MMSpline3"): see Interpolation-classsignature(object = "MMSpline3", map = "MareyMap"): carries out the interpolation on the map passed as parameter. Called automatically when an interpolation is added to a map signature(object = "MMSpline3"): Plot the interpolation's model of the Marey curve.signature(object = "MMSpline3"): Plots the variations of the recombination rates across a mapomosome.signature(object = "MMSpline3", pos = "numeric"): query the estimation of the recombination rate in a specific position (or a vector of specific positions)signature(object = "MMSpline3", value = "numeric"): Changes the value of the spar.signature(object = "MMSpline3"): returns the value of the spar.signature(object = "MMSpline3", value = "character"): Changes the type of smoothing to be used.signature(object = "MMSpline3"): returns the smoothing method used.signature(object = "MMSpline3"): returns informations about the user parameter, used by tcl/tk interface but not that useful for a command line user.smooth.spline
Interpolation-class
MareyMap-classdata(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