mergeCMAPs: This function merged two eSets.

Description Usage Arguments Value Author(s) Examples

View source: R/utility-functions.R

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 )

gCMAP documentation built on May 20, 2017, 10:21 p.m.

Search within the gCMAP package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.