Search
Question: Separate listing of up-regulated and down-regulated genes in edgeR DGE results.
0
8 months ago by
fawazfebin30
fawazfebin30 wrote:

Hi ,

Can anyone help me to separately list top up-regulated and down-regulated genes from the list of differentially expressed genes. Is there any command for the same? Thanks in advance.

modified 8 months ago by lisacarlon250 • written 8 months ago by fawazfebin30
3
8 months ago by
Gordon Smyth35k
Walter and Eliza Hall Institute of Medical Research, Melbourne, Australia
Gordon Smyth35k wrote:

There's no need for a special function in edgeR because it's easy using ordinary R programming:

tab <- as.data.frame(topTags( ... ))
tab[ tab$logFC > 0, ] tab[ tab$logFC < 0, ]


As simple as that :) .Great thanks, Sir.

1
8 months ago by
The Scripps Research Institute, La Jolla, CA
Ryan C. Thompson7.1k wrote:

As far as I know, there is no separate function for this. Simply split or filter your results based on the sign of the logFC column.