Entering edit mode
bioinformatics
▴
20
@bioinformatics-11531
Last seen 7.6 years ago
Hello !
I have used DESeq and EdgeR to get differentially expressed genes.
For DESeq it is possible to put a design with more conditions.
This is important because the data i used has
for example treated and untreated columns. But also differences in
cells types. And also the way of sequencing used differs. So there are
more things to account for then simple the differences of
treated and untreated data.
In DESeq this can be done by :
dds <-
DESeqDataSetFromMatrix(
countData = countdata,
colData = coldata,
design = ~ condition + cellType + MethodsUsed
)
In EdgeR the syntax is :
dataDGEList <-
DGEList(
counts = countdata,
group = factor(condition)
)
So the group sould account for the differences in EdgeR but
i might be mistaken. When reading the documentation of edgeRUsersGuide it sais
i have to do something with a glm model. But i do not understand the
rest of the manual and the approch used there. Could someone give me
an example of how to perform the de with EdgeR using three conditions :
condition + cellType + MethodsUsed?