Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • steve.eis
    Junior Member
    • Dec 2012
    • 3

    #1

    edgeR logFC up/down regulation

    Hey everyone,

    i analysed my Illumina data with edgeR. I have to say that i am relativ new to bioinformatics and i find it hard, to decide, whether my genes are up or down regulated.
    I comared two groups: 1h vs 0h
    And now i want to know, if genes in 1h are up/down regulatet compared to 0h.
    I used the following code to filter my results table:

    Code:
    et <- glmLRT(fit, coef=2)
    dge=et$table
    dge=subset(dge, PValue <= 0.05)
    direction=vector()
    for (i in 1:length(dge$logFC))
            {
                    if (dge$logFC[i] > 0)
                            {direction[i] = c("UP")}
                    else
                            {direction[i] = c("DOWN")}
            }
    direction=as.factor(direction)
    The Problem is, that i got the following results:
    DOWN UP
    372 1376

    But there is also a bild in function to summarize the up/down regulation which brings:

    Code:
    summary(dt <- decideTestsDGE(et))
    [,1]
    -1 103
    0 39645
    1 198

    Is it wrong that i said, that logFC >0 = UP? And i am not sure how the logFC rates are being calculated! Is it logFC= (1h/0h) when compared 1h vs 0h or the other way round???
    I am really puzzeld and i hope someone can halp me!
  • Thomas Doktor
    Senior Member
    • Apr 2009
    • 105

    #2
    You should filter according to the FDR value and not the raw p-value, that's why you are seeing more differentially expressed genes using your own function compared to the built-in in edgeR. Why not simply use the edgeR function?

    Comment

    • steve.eis
      Junior Member
      • Dec 2012
      • 3

      #3
      Thanks a lot for your fast reply!

      Do you mean to use this function:

      Code:
      de <- decideTestsDGE(et, p=0.05, adjust="BH")
      and if i do so by comparing 1h vs. 0h which ones are up/down regulated compared with what?

      Comment

      • Gordon Smyth
        Member
        • Apr 2011
        • 91

        #4
        Why not simply use topTags(et)?

        To read about how logFC are calculated for glms, see Sections 3.2.3 and 3.2.4 of the edgeR User's Guide:

        Comment

        Latest Articles

        Collapse

        • kinpict.com
          Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by kinpict.com
          The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
          Today, 06:37 PM
        • SEQadmin2
          16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by SEQadmin2





          NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
          10-30-2026, 06:46 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 11-12-2026, 07:59 AM
        0 responses
        27 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-05-2026, 09:25 AM
        0 responses
        35 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-03-2026, 11:54 AM
        2 responses
        56 views
        0 reactions
        Last Post kinpict.com  
        Started by SEQadmin2, 10-28-2026, 09:57 AM
        0 responses
        175 views
        0 reactions
        Last Post SEQadmin2  
        Working...