Description Usage Arguments Value Author(s) Examples
qqnormGenomeWide overlays quantile-quantile normal plots (qqnorm) for a series of genes (rows in the input matrix), to provide an overall assessment of Normality. Similarly, qqgammaGenomeWide overlays quantile-quantile gamma plots.
Note that the theoretical quantiles for z-scores under a Normal are the same for all genes, but the gamma theoretical quantiles depend on the Gamma parameter estimates for each gene and hence the theoretical quantiles are different for each gene (resulting in different x-values in each qq-plot)
1 2 3 | qqnormGenomeWide(x, ngenes=min(1000, nrow(x)), ...)
qqgammaGenomeWide(x, ngenes=min(1000, nrow(x)), ...)
|
x |
|
ngenes |
A qqnorm plot is produced for the first |
... |
Other arguments to be passed on to codeplot |
Produces a figure overlaying qq-normal or qq-gamma plots for ngenes
comparing observed vs. theoretical quantiles
David Rossell
1 2 3 4 5 | mu <- rnorm(100)
x <- matrix(rnorm(100*5,mu),ncol=5)
qqnormGenomeWide(x)
qqgammaGenomeWide(exp(x))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.