Hi nn,
sizeFactors(dds)
NULL
The sizeFactors(dds) value returned is NULL. Also I get this error message when running the DESeqDataSetFromMatrix tool.
Warning message:
In DESeqDataSet(se, design = design, ignoreRank) :
some variables in design formula are characters, converting to factors
I can't find the meaning of this error, but it might be the cause. I think I use the exact same technique as in the DESeq2 manual example in the section: Count Matrix Input (http://bioconductor.org/packages/release/bioc/vignettes/DESeq2/inst/doc/DESeq2.html#about-the-pasilla-dataset).
condition type
treated1fb treated single-read
treated2fb treated paired-end
treated3fb treated paired-end
see my own coldata dataframe below.
Because I used FeactureCounts i decided create my own count_matrix and worked with the DESeqDataSetFromMatrix() command to create the dds.
dds <- DESeqDataSetFromMatrix(countData = count_matrix, colData = coldata, design= ~ condition)
condition <- c("bead_enriched", "bead_enriched", "Input_control", "Input_control")
type <- c("single_end", "single_end", "single_end", "single_end")
coldata <- data.frame(condition, type)
rownames(coldata) <- c("E1", "E2", "I1", "I2")
( sorry didnt know to properly format the tables yet in Biostars, so I used a screenshot)