Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lupid
    Member
    • Mar 2015
    • 54

    #1

    EdgeR and DEX

    Hi to all I´m currently working with a pre-made R script to RNA-Seq using EdgeR, but I dont quite understand one of the outcome columns, please help.

    This is the script:

    Code:
    ################M3E_M5FE#######
    head(M3E_M5FE)
    
    rownames(M3E_M5FE)=M3E_M5FE$`V1`
    M3E_M5FE$`V1`=NULL
    M3E_M5FE$`V1`=NULL
    M3E_M5FE$`V1`=NULL
    M3E_M5FE$`V1`=NULL
    M3E_M5FE$`V1`=NULL
    M3E_M5FE$`V1`=NULL
    M3E_M5FE$`V1`=NULL
    
    colnames(M3E_M5FE$`V1`=NULL)=c("M3BE3","M3FE2","M3FE3","M5FE2","M5FE3","M5FE4")
    
    
    #Generar diseno (15 replicas para estado 1 y 15 para estado 2)
    group_EdgeR=c((rep(1,3)),(rep(2,3)))
    group_EdgeR
    
    
    
    
    #####Generar lista tipo DGE#
    y_EdgeR=DGEList(counts=M3E_M5FE, group=group_EdgeR)
    
    #Confirmar diseño
    #y_EdgeR$samples
    
    #Filtro por CPM (usa CPM para considerar diferencias entre librerias)
    keep_EdgeR <- rowSums(cpm(y_EdgeR)>1) >= 2
    y_EdgeR <- y_EdgeR[keep_EdgeR, , keep.lib.sizes=FALSE]
    
    #Estimacion de dispersion de datos
    y_EdgeR=estimateCommonDisp(y_EdgeR)
    
    #Calculo de FDR ajustado (o P-Adjusted)
    y_EdgeR=estimateTagwiseDisp(y_EdgeR)
    
    #Extracción de genes expresados diferencialmente
    et_EdgeR=exactTest(y_EdgeR)
    resEdgeR_EdgeR=topTags(et_EdgeR,n=Inf)
    ResultsTEMP_EdgeR=as.data.frame(resEdgeR_EdgeR)
    ResultsTEMP_EdgeR$DEX=ifelse(ResultsTEMP_EdgeR$FDR <= 0.05, 1,0)
    
    #Tabla resultado final
    ResultsTEMP_EdgeR
    
    getwd()
    write.table(ResultsTEMP_EdgeR, "ResultadosEdger_M3E_M5FE_R.txt", sep="\t", quote=F, row.names=T, col.names=T)
    And then in the .txt I get one column with a "DEX" parametre, but I can't find what it mean. please help
  • lupid
    Member
    • Mar 2015
    • 54

    #2
    file

    Here is a short version of the outcome
    Attached Files

    Comment

    • wdecoster
      Member
      • Oct 2015
      • 97

      #3
      That field is created here:

      Code:
      ResultsTEMP_EdgeR$DEX=ifelse(ResultsTEMP_EdgeR$FDR <= 0.05, 1,0)
      So: If the FDR is below 0.05 put a 1 in DEX, if not put a 0.

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        Today, 10:25 AM
      • SEQadmin2
        How Immunogenomics Decodes Immunity’s Genetic Blueprint
        by SEQadmin2




        The immune system’s power comes from its genetic diversity, allowing myriad threats to be neutralized through first recognizing foreign antigens. That diversity is also what makes the immune system so difficult to study. Recent advances in sequencing technology and computational biology, however, are giving researchers new tools to understand immune responses and immune-related diseases in greater detail.

        This convergence of genetics, immunology, and computation...
        09-01-2026, 05:41 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 09-25-2026, 09:06 AM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 09-23-2026, 11:05 AM
      0 responses
      24 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 09-18-2026, 11:37 AM
      1 response
      45 views
      0 reactions
      Last Post pekgio
      by pekgio
       
      Started by SEQadmin2, 09-16-2026, 10:23 AM
      1 response
      55 views
      0 reactions
      Last Post pekgio
      by pekgio
       
      Working...