Entering edit mode
Joel Ma
▴
50
@joel-ma-6558
Last seen 10.2 years ago
Hi
I was trying to make a data.frame of geneIDs, symbols and names for my
eset, but the cdf and .db did not match up.
> library(mogene10sttranscriptcluster.db)
> library(mogene10stv1cdf)
> geneIDs <- ls(mogene10stv1cdf)
> geneSymbols <- unlist(as.list(mogene10sttranscriptclusterSYMBOL))
> geneNames <- unlist(as.list(mogene10sttranscriptclusterGENENAME))
> genelist <- data.frame(GeneID=geneIDs,GeneSymbol=geneSymbols,GeneNam
e=geneNames,"",sep="")
Error in data.frame(GeneID = geneIDs, GeneSymbol = geneSymbols,
GeneName = geneNames, :
arguments imply differing number of rows: 34760, 35556, 1
> summary(geneIDs)
Length Class Mode
34760 character character
> summary(geneNames)
Length Class Mode
35556 character character
What should I do?
Cheers
Joel
[[alternative HTML version deleted]]