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 )
Run the code above in your browser using DataLab