## Not run:
# if(require("crlmm") && require("VanillaICE") && require("IRanges")){
# library(oligoClasses)
# data(cnSetExample, package="crlmm")
# cnSetExample <- chromosomePositionOrder(cnSetExample)
# oligoSet <- as(cnSetExample, "oligoSnpSet")
# fit2 <- hmm(oligoSet, p.hom=1)
# xyplot(cn ~ x | range, data=oligoSet, range=fit2[1:10, ],
# frame=2e6,
# panel=xypanel, cex=0.3, pch=21, border="blue",
# scales=list(x="free"),
# col.hom="lightblue", col.het="salmon", col.np="grey60",
# fill.np="grey60",
# xlab="Mb")
# ## if xyplot method is masked by lattice, do
# ##xyplot <- VanillaICE:::xyplot
# }
# ## End(Not run)
Run the code above in your browser using DataLab