ZipfPlot | R Documentation |
Draw Zipf Plot.
ZipfPlot(x, x0, plot=FALSE,plot.new=TRUE, weights,...)
x |
data: two vectors. |
x0 |
low bound to filter data. |
plot |
Draw Zipf plot if |
plot.new |
whether draw a new plot. |
weights |
Compute weighted least squares line
if |
... |
plotting parameters. |
None
Wang, B. (2020) A Zipf-plot based normalization method for high-throughput RNA-Seq data. PLoS ONE, (in press).
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.