I'm trying to find out a set of differentially expressed genes between tumor and normal condition of the same samples. My questions are as follows:-
Is there a minimum number of samples that I need to use to achieve the result?
Is the following design appropreiate for this task?
My design is as follows:
dds <- DGEList(counts = x, genes = genes)
df <- data.framePatient.ID = factor(rep(1:3,each=2)), Treatment = factor(rep(c("Pre","On"),3),levels=c("Pre","On")))
countData <- dds$counts
dds <- DESeqDataSetFromMatrix(countData, DataFrame(df), ~ Patient.ID + Treatment )
dds <- DESeq(dds)
res <- results(dds, alpha = 0.05)
Design table:
Patient.ID Treatment
1 1 Pre
2 1 On
3 2 Pre
4 2 On
5 3 Pre
6 3 On
Result of the above code:
out of 18545 with nonzero total read count
adjusted p-value < 0.05
LFC > 0 (up) : 2531, 14%
LFC < 0 (down) : 2010, 11%
outliers [1] : 0, 0%
low counts [2] : 2145, 12%
(mean count < 3)
[1] see 'cooksCutoff' argument of ?results
[2] see 'independentFiltering' argument of ?results
deseq2
rna-seq
differential expressed genes