plotCorrelationHeatmap | R Documentation |
Correlation heatmap
plotCorrelationHeatmap(object, ...)
## S4 method for signature 'SingleCellExperiment'
plotCorrelationHeatmap(object, ...)
## S4 method for signature 'SummarizedExperiment'
plotCorrelationHeatmap(
object,
assay = 1L,
interestingGroups = NULL,
method = c("pearson", "kendall", "spearman"),
clusteringMethod = "ward.D2",
showRownames = TRUE,
showColnames = TRUE,
treeheightRow = 0L,
treeheightCol = 50L,
color = getOption(x = "acid.heatmap.correlation.color", default = viridis::magma),
legendColor = getOption(x = "acid.heatmap.legend.color", default =
AcidPlots::synesthesia),
borderColor = NULL,
title = TRUE,
...
)
object |
Object. |
... |
Additional arguments. |
assay |
|
interestingGroups |
|
method |
|
clusteringMethod |
|
showRownames , showColnames |
|
treeheightRow , treeheightCol |
|
color |
We generally recommend these hexadecimal functions from the viridis
package, in addition to our
Alternatively, colors can be defined manually using hexadecimal values
(e.g. |
legendColor |
|
borderColor |
|
title |
|
Plot.
Updated 2021-02-08.
data(
RangedSummarizedExperiment,
SingleCellExperiment_splatter,
package = "AcidTest"
)
## SummarizedExperiment ====
object <- RangedSummarizedExperiment
plotCorrelationHeatmap(object)
## SingleCellExperiment ====
object <- SingleCellExperiment_splatter
plotCorrelationHeatmap(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.