This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# using Merge | |
lists <- list(eset,eset3) | |
eset_both <- inSilicoMerging::merge(lists, method='NONE') | |
# using combine | |
eset_both2 <- combine(eset, eset3) | |
# Manually | |
neweset<-ExpressionSet(assayData=cbind(exprs(eset),exprs(eset3)[featureNames(eset),])) | |
phenoData(neweset)<-new("AnnotatedDataFrame",rbind(pData(eset),pData(eset3))[sampleNames(neweset),]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Python | |
Hamlet example | |
data here: http://www.gutenberg.org/cache/epub/2265/pg2265.txt | |
def read_Hamlet(): | |
my_file = open("hamlet.txt") | |
return my_file | |
my_file = read_Hamlet() |