combine: Combining or merging different Bioconductor data structures

Description Usage Arguments Details Value Note Examples

Description

Combining or merging different Bioconductor data structures

Usage

1
2
3
4
combine(x, y, ...)

## S4 method for signature 'DESeqAnalysis,DESeqAnalysis'
combine(x, y)

Arguments

x

Object.

y

Object.

...

Additional arguments.

Details

Combines the results from 2 separate DESeqAnalysis objects. Note that the internal DESeqDataSet and DESeqTransform objects slotted in x and y must be identical. The respective results must not contain any intersecting names. The lfcShrink slot is optional but must be either defined in both objects or NULL in both objects.

Value

A single value of the same class as the most specific common ancestor (in class terms) of the input values. This will contain the appropriate combination of the data in the input values.

Note

Updated 2020-08-04.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(deseq)

## DESeqAnalysis ====
x <- deseq
y <- deseq
resultsNames(x) <- paste0("x_", resultsNames(x))
resultsNames(y) <- paste0("y_", resultsNames(y))

object <- combine(x, y)
resultsNames(object)

steinbaugh/DESeqAnalysis documentation built on Oct. 15, 2020, 2:02 a.m.