I want to identify DEGs from 79 samples of GSE75693 selected based on the threshold P < 0.01 and fold change >2.0.
But my code showing following error :
Error in getEAWP(object) : data object isn't of a recognized data class
Code :
gset <- getGEO("GSE75693", GSEMatrix =TRUE, getGPL=FALSE)
gr<-c(rep("Tumor",3),("Normal"),rep("Tumor",7),("Normal"),rep("Tumor",21),rep("Normal",4) + ,rep("Tumor",5),("Normal"),rep("Tumor",17),rep("Normal",2),("Tumor"),("Normal"),rep("Tumor",2), + ("Normal"),("Tumor"))
gr<-factor(gr)
gset$description<-gr
design<-model.matrix(~description+0,gset)
colnames(design)<-levels(gr)
levels(gr)
fit<-lmFit(gset,design)
I also want to know how i can i design contrast matrix?
thanks brother but when i try to run fit <- lmFit(gset$GSE75693, design)
it gives me the following error : Error in array(x, c(length(x), 1L), if (!is.null(names(x))) list(names(x), : 'data' must be of a vector type, was 'NULL'
That error could only occur if the data object (the first argument of
lmFit
) was NULL, which could not be the case if you have run the code you claim to have run.brother plz help me. I want to identify DEGs from 79 samples of GSE75693 selected based on the threshold P < 0.01 and fold change >2.0.