This function merged two eSets.

Share:

Description

This function merges two eSet objects, if all of the following conditions are met:

  • Both objects 'x' and 'y' have to be instances of the same class.

  • 'x' and 'y' must be annotated with the same character string in their 'annotation' slots.

  • 'x' and 'y' must have the same AssayDataElementNames / channels.

  • 'x' and 'y' must have disctinct sampleNames.

  • 'x' and 'y' must have the same varLabels / pData columns.

Usage

1
mergeCMAPs(x, y)

Arguments

x

An eSet.

y

An eSet of the same class as 'x'

Value

An eSet of the same class as 'x' and 'y'.

Author(s)

Thomas Sandmann, sandmann.thomas@gene.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
library(Biobase)
data( sample.ExpressionSet)

## Not run: 
## this doesn't work, because 'x' and 'y' have identical sampleNames
mergeCMAPs( sample.ExpressionSet, sample.ExpressionSet)

## End(Not run)

y <- sample.ExpressionSet
sampleNames( y ) <- paste( sampleNames( y ), "y", sep=".")
mergeCMAPs( sample.ExpressionSet, y )

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.