corplot: Plots the correlation among the columns of a numeric matrix.

Description Usage Arguments Details Value See Also Examples

View source: R/plots-corplot.R

Description

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..

Usage

1
2
3
4
5
6
7
8
9
corplot(
  E,
  title,
  cluster = FALSE,
  col.point = "#00000066",
  diag.distro = TRUE,
  smooth.scatter = nrow(E) > 400,
  ...
)

Arguments

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

logical indicating whether or not to shuffle genes around into some clustering.

col.point

the color of the points in the scatterplots

diag.distro

show the distribution of values on the diagnols?

Details

TODO: Add with.signature parameter to allow a box to plot the signature score of all genes in E.

Value

nothing, just creates the plot

See Also

The corrplot package

Examples

1
2
x <- matrix(rnorm(1000), ncol=5)
corplot(x)

lianos/multiGSEA documentation built on Nov. 17, 2020, 1:26 p.m.