plot.PP: Job PP plot.

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/visuals.R

Description

Plot the PP profile of a particular job.

Usage

1
plot.PP(x, job, breaks = 150L, ...)

Arguments

x

Raw output from the bayespeak function.

job

Integer. Which of the jobs in the output should have its PP values plotted?

breaks

Integer. Analogous to the breaks argument in hist.

...

Additional arguments passed to the hist function.

Details

plot.PP plots a histogram of the PP values returned in a particular BayesPeak job. This can be used to identify overfitting in a particular job. It is not suitable for identifying the prevalence of overfitting in all of the jobs in a genome-wide analysis - for that, please see plot.overfitdiag.

Value

Plots a histogram on the active graphical device.

Author(s)

Jonathan Cairns

References

Spyrou C, Stark R, Lynch AG, Tavare S BayesPeak: Bayesian analysis of ChIP-seq data, BMC Bioinformatics 2009, 10:299 doi:10.1186/1471-2105-10-299

See Also

bayespeak.

Examples

1
2
3
4
5
##recreation of the plots in the vignette

data(raw.output) ##output from bayespeak()
plot.PP(raw.output, 324, ylim = c(0,50))
plot.PP(raw.output, 325, ylim = c(0,50))

BayesPeak documentation built on April 28, 2020, 6:27 p.m.