DESeqDataSetFromMatrix error: dds file described as <Object with null pointers>
1
0
Entering edit mode
liujinghx • 0
@liujinghx-21075
Last seen 4.8 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="">:

[Codes] HNmycounts <- HNdata keepGene=rowSums(edgeR::cpm(HNmycounts[-1])>0) >=2 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)) dds<-DESeqDataSetFromMatrix(countData=HNmycounts,colData=metadata,design=~sample,tidy = T)

countData and colData files are all dataframe format. If anyone could tell where the problem is ? Thanks very much!

deseq2 • 294 views
ADD COMMENT
0
Entering edit mode
@mikelove
Last seen 1 hour ago
United States

See here

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

ADD COMMENT

Login before adding your answer.

Traffic: 700 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