View source: R/methods_dcmatrix.R
plot.dcmatrix | R Documentation |
Plots a heatmap from a dcmatrix object using the function "pheatmap" from the package "pheatmap".
## S3 method for class 'dcmatrix' plot( x, type = "dcor", trunc.up = NULL, trunc.low = NULL, cluster_rows = FALSE, cluster_cols = FALSE, display_numbers = TRUE, ... )
x |
a dcmatrix object. |
type |
specifies what should be displayed in the heatmap. One of "dcor", "dcov", "logp" (-log10 of corresponding p-values), "cor", "abscor" (absolute correlation), "logp.cor", "dcor.pw", "dcov.pw" or "logp.pw". |
trunc.up |
truncates the values to be plotted; if set to numeric, all values larger than trunc.up are set to trunc.up. |
trunc.low |
truncates the values to be plotted; if set to numeric, all values smaller than trunc.low are set to trunc.low. |
cluster_rows, cluster_cols, display_numbers |
passed to pheatmap(). |
... |
passed to pheatmap(). |
a heatmap plotting the entries of the slot specified in type of the object specified in dcmat.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.