Skip to contents

Compare feature expression correlation across two data sets.

Usage

plotCountsCorrelationHeatmap(x, y, ...)

# S4 method for matrix,matrix
plotCountsCorrelationHeatmap(x, y, i = NULL, j = NULL, method = "pearson", ...)

Arguments

x

Object.

y

Object.

i

Indices specifying elements to extract or replace. Indices are numeric or character vectors, empty (missing), or NULL.

For more information:

help(topic = "Extract", package = "base")

j

Indices specifying elements to extract or replace. Indices are numeric or character vectors, empty (missing), or NULL.

For more information:

help(topic = "Extract", package = "base")

method

character(1). Correlation method. Refer to stats::cor() for details.

...

Passthrough arguments to plotHeatmap().

Value

Graphical output.

Note

Updated 2022-03-07.

Examples

data(RangedSummarizedExperiment, package = "AcidTest")

## matrix ====
x <- SummarizedExperiment::assay(RangedSummarizedExperiment)
y <- x + 1L
plotCountsCorrelationHeatmap(x, y)