Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bvk
    Member
    • May 2015
    • 65

    #1

    Question about using limma for differential analysis

    For the Differential analysis I'm using "limma" R package. I'm using RSEM log2 transformed counts data from XENA browser. A matrix "U" with 20,000 genes as rows and more than 300 samples as columns. Initially I have done some filtering steps like following:

    y <- normalizeQuantiles(U)

    keep <- rowSums(y > log2(11)) >= 14

    table(keep)
    keep
    FALSE TRUE
    3624 16906

    y2 <- y[keep,]

    table(G$MB)

    MB1 MB2
    286 80

    design2 <- model.matrix(~ G$MB -1)
    colnames(design2) <- c("MB1","MB2")

    head(design2)
    MB1 MB2
    1 1 0
    2 1 0
    3 0 1
    4 1 0
    5 1 0
    6 1 0

    fit <- lmFit(y2,design2)
    contrast.matrix <- makeContrasts(MB2-MB1, levels=design2)

    contrast.matrix
    Contrasts
    Levels MB2 - MB1
    MB1 -1
    MB2 1

    fitC <- contrasts.fit(fit,contrast.matrix)
    fitC <- eBayes(fitC,robust=TRUE,trend=TRUE)
    tab <- topTable(fitC,adjust="BH",n=Inf)

    summary(decideTests(fitC))
    MB2 - MB1
    -1 1
    0 16904
    1 1

    Does this mean there are two differentially expressed genes between the "MB2-MB1" comparison?

    And when I did like follwoing:

    sig.deg = subset(tab, abs(logFC)>0.5 & tab$P.Value < 0.05)

    head(sig.deg)
    logFC AveExpr t P.Value adj.P.Val B
    PRR18 -0.7536122 5.163854 -3.396209 0.0007577785 0.3583424 -0.7996981
    DACH2 0.6016372 0.845996 3.375142 0.0008163282 0.3583424 -0.8561809
    HELLS 0.5986486 5.800163 3.353323 0.0008813889 0.3583424 -0.9143339
    OSBPL6 0.6416259 5.887980 3.226050 0.0013674819 0.412833 -1.2465415
    POLQ 0.5932946 5.515293 3.212282 0.0014328446 0.4131078 -1.2817619
    MYH1 -0.6999817 1.053430 -3.211477 0.0014367504 0.4131078 -1.2838148

    Here the genes are with adj.P.Val > 0.05. I don't understand which are differentially expressed genes. my statistical knowledge is pretty low. Can anyone tell me about this?
  • neavemj
    Member
    • Feb 2014
    • 58

    #2
    You will want to use the "adj.P.Val" column. These are the p-values that have been adjusted for multiple testing - you have done a lot of comparisons, so this needs to be taken into account. For example:

    sig.deg = subset(tab, abs(logFC)>0.5 & tab$adj.P.Value < 0.05)

    Perhaps you indeed have very few differentially expressed genes, which could be for a variety of reasons. You might want to do an initial PCA ordination to check if your replicates are similar to each other. If there is as much variation within your replicates as there is across the treatment groups, then few DE genes will be detected.

    Good luck!

    Matt.

    Comment

    Latest Articles

    Collapse

    • SEQadmin2
      Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
      by SEQadmin2



      CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

      Despite this, “CRISPR helped turn genome editing from a specialized technique into
      ...
      07-31-2026, 11:01 AM
    • SEQadmin2
      Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
      by SEQadmin2


      Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

      The systematic characterization of the human proteome has
      ...
      07-20-2026, 11:48 AM
    • SEQadmin2
      Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
      by SEQadmin2



      Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
      ...
      07-09-2026, 11:10 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, Yesterday, 10:13 AM
    0 responses
    14 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 07-31-2026, 02:55 AM
    0 responses
    29 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 07-24-2026, 12:17 PM
    0 responses
    23 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 07-23-2026, 11:41 AM
    0 responses
    21 views
    0 reactions
    Last Post SEQadmin2  
    Working...