To order list of genes
Hello, I obtained my list of genes after DESeq2 and I want to order my list of genes based on up and downregulation. Do you recommend me any command or pacakge which enables me to order my list of genes?
• 1,450 views
•
link
1 answer
i would just drop any with an adjusted p-value below some threshold (depending on how many DGE I have) then sort based on log2FC.
just do it in R:subset(dge[order(dge$log2FC, decreasing=TRUE),],p.adjust <= 0.5) for up-reg etc...
• 0 views
•
link
Log in to answer this question.
If, let's say, you stored your full list of DEGs in a variable called
res, you can simply do so:Naturally, adjust the logFC threshold based on your preferences.
Thanks for the answear, it worked!
Ironically, this command is called order:
See
?orderfor details.