ZipfPlot {bda}R Documentation

Draw Zipf Plot

Description

Draw Zipf Plot.

Usage

  ZipfPlot(x, x0, plot=FALSE,plot.new=TRUE, weights,...)

Arguments

x

data: two vectors.

x0

low bound to filter data.

plot

Draw Zipf plot if TRUE

plot.new

whether draw a new plot.

weights

Compute weighted least squares line if weights is given.

...

plotting parameters.

Value

None

References

Wang, B. (2020) A Zipf-plot based normalization method for high-throughput RNA-Seq data. PLoS ONE, (in press).

Examples

data(LCL)
names(LCL)
x <- LCL$p47
y <- LCL$p107
outx <- ZipfPlot(x)
plot(outx,type='l')
outy <- ZipfPlot(y)
lines(outy,col=2)

out2 <- Zipf.Normalize(x,y)
outy2 <- ZipfPlot(out2$y)
lines(outy2,col=4)

  

[Package bda version 15.2.2 Index]