Entering edit mode
Sally
▴
250
@sally-2430
Last seen 10.2 years ago
I want merge fit2 with a txt file I'll call MGL (mastergenelist) which
contains gene id information. I am using a custom cDNA array. The
reason is that I want the gene ID information along-side the rownames
(which are the accession IDs). Both have identical row names. MGL
has missing data.
I have tried:
MGLnew<-read.table(file="MGL.txt",sep="\t",header=TRUE,na.strings="",f
ill=TRUE) #WORKS
write.table(MGLnew,file="MGLnew.txt",sep="\t") #WORKS
fit2<-merge(fit2,MGLnew,by="row.names") #NOT WORKING
When I run this I get the following error message:
Error in dim(data) <- dim : attempt to set an attribute on NULL
What does this error message mean? How do I fix the problem?
Sally Goldes
[[alternative HTML version deleted]]