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.
An eSet of the same class as 'x'
An eSet of the same class as 'x' and 'y'.
Thomas Sandmann, firstname.lastname@example.org
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.