data(raw.output)
plot.overfitdiag(raw.output)
##recreate figures in vignette
plot.overfitdiag(raw.output, whatX="calls", logX = TRUE, whatY = "lambda1", logY = TRUE)
plot.overfitdiag(raw.output, whatX="calls", logX = TRUE, whatY = "score", logY = TRUE)
## Not run:
#
# ##identify particular jobs in the plot
# plot.overfitdiag(raw.output, whatX="calls", logX = TRUE, whatY = "score", logY = TRUE)
# identify.overfitdiag(raw.output, whatX="calls", logX = TRUE, whatY = "score", logY = TRUE)
#
# ##define an overfit region
# ##left-click to define the polygon vertices, right-click to close the polygon
# sel <- region.overfitdiag(raw.output, whatX="calls", logX = TRUE, whatY = "score", logY = TRUE)
# output <- summarize.peaks(raw.output, exclude.jobs = sel)
#
# ## End(Not run)
Run the code above in your browser using DataLab