Description Usage Arguments Value Author(s) Examples
View source: R/utility-functions.R
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.
1 | mergeCMAPs(x, y)
|
x |
An eSet. |
y |
An eSet of the same class as 'x' |
An eSet of the same class as 'x' and 'y'.
Thomas Sandmann, sandmann.thomas@gene.com
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 )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.