Skip to contents

Combine multiple objects

Usage

combine(x, y, ...)

# S4 method for FgseaList,FgseaList
combine(x, y)

Arguments

x

Object.

y

Object.

...

Additional arguments.

Value

Modified object.

Note

Updated 2022-04-27.

Examples

data(fgsea)

## FgseaList ====
x <- fgsea
y <- fgsea
contrastNames(x) <- paste0("x_", contrastNames(x))
contrastNames(y) <- paste0("y_", contrastNames(y))
c <- combine(x, y)
c
#> FgseaList 0.9.0 of length 1
#> collectionNames: h_all_v7_0_symbols
#> contrastNames(4): x_condition_B_vs_A x_treatment_D_vs_C y_condition_B_vs_A y_treatment_D_vs_C
#> rankedList: stat
#> alphaThreshold: 0.05