combine,SparrowResult,SparrowResult-method | R Documentation |
This would be useful when you want to add a GSEA result to an already
existing one. append
would be more appropriate, but ...
## S4 method for signature 'SparrowResult,SparrowResult'
combine(x, y, rename.x = NULL, rename.y = NULL, ...)
x |
A |
y |
A |
rename.x |
A named vector that used to match resultNames(x) and remane
them to something different. |
rename.y |
Same as |
... |
more things |
When would you want to do that? Imagine a shiny app that drives sparrow. 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).
A combined SparrowResult
object
mg1 <- exampleSparrowResult()
mg2 <- exampleSparrowResult()
mgc <- combine(mg1, mg2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.