mergeSignalMatrices: mergeSignalMatrices: aggregates two or more signal matrices.

View source: R/signalMatrices.R

mergeSignalMatricesR Documentation

mergeSignalMatrices: aggregates two or more signal matrices.

Description

mergeSignalMatrices: aggregates two or more signal matrices.

Usage

mergeSignalMatrices(ml, aggregation = c("mean", "sum", "median"), assay = 1L)

Arguments

ml

A named list of signal matrices or an EnrichmentSE object as produced by signal2Matrix

aggregation

The method to aggregate matrices

assay

Assay to use (ignored unless 'ml' is an ESE object), defaults to the first assay.

Value

A single 'normalizedMatrix' object.

Examples

# we first get an EnrichmentSE object:
data(exampleESE)
# we merge the two tracks:
merged <- mergeSignalMatrices(exampleESE)
# we could then plot the merge (not run):
# plotEnrichedHeatmaps(merged)

ETHZ-INS/epiwraps documentation built on May 4, 2024, 6:25 a.m.