Plotting method for the results of compareSmoothing. The results are mapped by facetting over values of alpha and mapping the method (jitterAngle, jitterPoints, noSmoothing) to linestyle and color (black dashed, black dotted, red solid). By default legend drawing is turned off, but can be turned on via the lPos argument, e.g. setting to "bottom" for legend below the plot.
plotSmoothingComparison(smMat, lPos = "none")
Result from compareSmoothing
Legend position passed to ggplot2 (default is none for no legend shown)
ggplot visualisation of the comparison
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.