combine-MultiGSEAResult-MultiGSEAResult-method: Combines two MultiGSEAResult objects together.

Description Usage Arguments Details Value Examples

Description

This would be useful when you want to add a GSEA result to an already existing one. append would be more appropriate, but ...

Usage

1
2
## S4 method for signature 'MultiGSEAResult,MultiGSEAResult'
combine(x, y, rename.x = NULL, rename.y = NULL, ...)

Arguments

x

A MultiGSEAResult object

y

A MultiGSEAResult object

rename.x

A named vector that used to match resultNames(x) and remane them to something different. names(rename.x) should match whatever you want to change in resultNames(x), and the values are the new names of the result.

rename.y

Same as rename.x, but for the results in y.

...

more things

Details

When would you want to do that? Imagine a shiny app that drives multiGSEA. You might want to present the results of each analysis as they come "online", so you would run them independently and make them available to the user immediately after they each finish (ie. in combination with the promises package).

Value

A combined MultiGSEAResult object

Examples

1
2
3
mg1 <- exampleMultiGSEAResult()
mg2 <- exampleMultiGSEAResult()
mgc <- combine(mg1, mg2)

lianos/multiGSEA documentation built on Nov. 17, 2020, 1:26 p.m.