freqpoly: Frequency polygon plot

Description Usage Arguments Value Author(s) References Examples

Description

Similar to histogram, frequency polygon plot can be used to display data distribution.

Usage

1
2
freqpoly(mat, nbreaks=15, col="black", xlab="", ylab="Frequency", 
         type="l",append=FALSE,...)

Arguments

mat

A numeric vector

nbreaks

Number of bins for frequency counting

col

color code

xlab

x-axis lable

ylab

y-axis lable

type

character indicating the type of plotting; actually any of the 'type's as in 'plot.default'.

append

TRUE or FALSE, whether to create a new figure or append to the current figure.

...

Further arguments that get passed to the function "plot"

Value

Frequency polygon plot.

Author(s)

Zongli Xu

References

Zongli Xu, Liang Niu, Leping Li and Jack A. Taylor, ENmix: a novel background correction method for Illumina HumanMethylation450 BeadChip. Nucleic Acids Research 2015.

Examples

1
2
3
4
5
6
if(FALSE){
if (require(minfiData)) {
mdat <- preprocessRaw(RGsetEx)
beta=getBeta(mdat, "Illumina")
freqpoly(beta[,1])
}}


Search within the ENmix package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.