discontPlot {CAFE} | R Documentation |
Plots chromosome plots with a discontinuous smoother
discontPlot(datalist,samples=c(1,2),chromNum=1,gamma=300,idiogram=FALSE, file="default")
datalist |
The CAFE datalist to be analyzed, i.e. the output of
|
samples |
A vector or sample numbers to be plotted |
chromNum |
the chromosome to be plotted |
gamma |
The |
idiogram |
if |
file |
Specify a file name to store output png file |
Plot to file system;
Returns a ggplot2 graph if chromNum!="ALL"
. When chromNum=="ALL"
,
returns a list of ggplot2 graphs.
Sander Bollen
Friedrich, F., Kempe, a, Liebscher, V., & Winkler, G. (2008). Complexity Penalized M-Estimation. Journal of Computational and Graphical Statistics, 17(1), 201-224. doi:10.1198/106186008X285591
data("CAFE_data") discontPlot(CAFE_data,samples=9,chromNum=17,gamma=300)