You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having troubles in finding how Seurat handles DESeq2 in differential expression analysis. I have been looking to differential_expression.R but I couldn't find the function PerformDE() to get the parameters used by DESeq2 inside FindMarkers().
I supposed in this scenario that the default DESeq() function in used to perform the analysis, but I have tried:
data <- DietSeurat(SeuData)
data <- as.SingleCellExperiment(data)
data <- data[features, ] # select specific features according to a pre-filtering step
assay(data) <- as.matrix(assay(data))
data <- scran::convertTo(data, type = "DESeq2")
design(data) <- formula(~Treat)
data <- DESeq(data)
data_res <- DESeq2::results(object = data)
And ordering by pvalue, I get a different rank than doing:
So I am just wondering if you can take me to the link where I can found the source code of PerformDE() or maybe you can correct my script above to know how DESeq2 is handled.
Thanks a lot for all your work in the package and your help through the discussions.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Dear Seurat Team;
I am having troubles in finding how Seurat handles DESeq2 in differential expression analysis. I have been looking to differential_expression.R but I couldn't find the function PerformDE() to get the parameters used by DESeq2 inside FindMarkers().
I supposed in this scenario that the default DESeq() function in used to perform the analysis, but I have tried:
And ordering by pvalue, I get a different rank than doing:
and ordering by p_val.
So I am just wondering if you can take me to the link where I can found the source code of PerformDE() or maybe you can correct my script above to know how DESeq2 is handled.
Thanks a lot for all your work in the package and your help through the discussions.
Best,
Camila
Beta Was this translation helpful? Give feedback.
All reactions