NA values are not allowed in the count matrix

Viewed 24

During creating dds object from DESeq2 package, I have this error. can anyone help me?

> #FILTER lOW EXPRESSED GENES
> keep <- rowSums(Counts) >= 10
> Counts <- Counts[keep,]

> #Load Trait (PHENO) 
> info = read.csv('pheno.csv', sep =",", header = TRUE, row.names = 1)


> #If they are not in the same order
> Counts_Ordered = Counts[,rownames(info)]


> #MAKING DESEQ2 OBJECT
> dds <- DESeqDataSetFromMatrix(countData = Counts_Ordered,
+                               colData = info,
+                               design = ~ status)
Error in DESeqDataSet(se, design = design, ignoreRank) : 
  NA values are not allowed in the count matrix
0 Answers
Related