I am doing differential expression using DESeq2. I have 2 conditions (Veh0h, treatment56h) and 5 samples each.
After generating the gene count matrix from StringTie output files and loading into R as countData
, I used the following code to do the differential expression analysis:
countData <- as.matrix(read.csv("/Users/Desktop/gene_count_matrix.csv", row.names="gene_id"))
colData <- data.frame(condition = factor(rep(c("A", "B"), each = 5)))
rownames(colData) <- colnames(countData)
dds <- DESeqDataSetFromMatrix(countData = countData,
colData = colData, design = ~ condition)
dds <- DESeq(dds)
res <- results(dds, addMLE = TRUE)
I wanted to find out more about independent filtering and used the command metadata(res)$filterThreshold
. Which gave me the following numbers:
66.02757%
6.589014
I would like to clarify on what these numbers mean is that DESeq2 has filtered out genes with a mean count of 6.589? And as a result, 66.02% of genes were filtered out of the analysis.
Is this a correct interpretation?
Cross-posted: https://www.biostars.org/p/445318/