View source: R/plots-corplot.R
corplot | R Documentation |
We assume that this is a sample x gene expression matrix, but it can (of course) be any numeric matrix of your choosing. The column names appear in the main diagonal of the plot. Note that you might prefer the corrplot package for similar functionality, and this functionality is intentionally named different from that..
corplot(
E,
title,
cluster = FALSE,
col.point = "#00000066",
diag.distro = TRUE,
smooth.scatter = nrow(E) > 400,
max.cex.cor = NULL,
...
)
E |
the matrix used to plot a pairs correlation plot. The vectors used to assess all pairwise correlation should be in the columns of the matrix. |
title |
The title of the plot |
cluster |
|
col.point |
the color of the points in the scatterplots |
diag.distro |
show the distribution of values on the diagnols? |
smooth.scatter |
boolean to indicate wether to use a normal scatter, or
a |
max.cex.cor |
the numeric value defining the maximum text size (cor) in the correlation panel.
By default there is no limit on the maximum text size and the text size is calculated with |
... |
pass through arguments to internal panel functions |
TODO: Add with.signature parameter to allow a box to plot the signature score of all genes in E.
nothing, just creates the plot
The corrplot package
x <- matrix(rnorm(1000), ncol=5)
corplot(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.