Question: DESeqDataSetFromMatrix error: dds file described as <Object with null pointers>
1
0
Entering edit mode
liujinghx • 0
@liujinghx-21075
Last seen 4.9 years ago

Dear everyone, I tried to create an dds file using codes as follows, however just got a DESeqDataSet unable to be viewed and described as <object with="" null="" pointers="">:

countDaTa

HNmycounts <- HNdata

keepGene=rowSums(edgeR::cpm(HN_mycounts[-1])>0) >=2 #remove genes with count <=1#

table(keepGene)

dim(HN_mycounts)

dim(HN_mycounts[keepGene,])

colData

sample2<- c(rep("Control",3),rep("Model",3))

sample1<- c("C3", "C5", "C6", "M3", "M7", "M9")

metadata<-data.frame(sample1,sample2)

names(metadata)<-c("ID","sample")

HNmycounts<-HNmycounts[keepGene,]

HNmycounts<-HNmycounts[!duplicated(HNmycounts$geneid),]

table(duplicated(HNmycounts$geneid))

creating DESeq-dds

dds<-DESeqDataSetFromMatrix(countData=HN_mycounts,colData=metadata,design=~sample,tidy = T)

deseq2 • 415 views
ADD COMMENT
0
Entering edit mode
@mikelove
Last seen 9 hours ago
United States

Updated answer here:

https://support.bioconductor.org/p/122184/

ADD COMMENT

Login before adding your answer.

Traffic: 657 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6