Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fbarreto
    Member
    • Jan 2010
    • 15

    #1

    edgeR: to split or not to split data sets?

    Hi all,

    I have a specific question regarding matrix design for analyses.
    I would like to analyze my samples across two hierarchical levels, and I can think
    of at least two ways of performing this in edgeR. After trying them, they gave pretty different answers,
    which was not surprising, but I would like to hear insights as to which is more statistically appropriate.

    I have 4 population samples, with 2 RNA-seq replicates in each. Also, two populations can be grouped as 'Northern',
    and two as 'Southern', hence having for replicates for each of 2 locations.

    I would like to perform: 1) comparison between the two populations of the 'Southern' group, and 2) compare the two
    locations (by pooling samples within populations).


    Hence, for the first analysis, I could simply import a data matrix such as:

    data1:
    sample group
    pop1.1 A
    pop1.2 A
    pop3.1 C
    pop3.2 C

    and proceed with that comparison as usual.

    However, an alternative approach is to import the full data matrix:

    sample
    pop1.1
    pop1.2
    pop2.1
    pop2.2
    pop3.1
    pop3.2
    pop4.1
    pop4.2

    And for analysis (1), code the groups by population:

    sample group
    pop1.1 A
    pop1.2 A
    pop2.1 B
    pop2.2 B
    pop3.1 C
    pop3.2 C
    pop4.1 D
    pop4.2 D


    then perform a test on the pair=c("A","C"), which would be 'equivalent' to the test with the small dataset above.
    However, the two produce very different number of DE (~60 vs 200, respectively). It makes sense why they are different, since the common dispersion
    in the small data set is being estimated from 2 sets of reps, while the one in the full data set is estimated across 4 sets of reps.

    My motivation for having the full data set is so that I can then recode the groups and perform analysis (2):

    sample group
    pop1.1 south
    pop1.2 south
    pop2.1 south
    pop2.2 south
    pop3.1 north
    pop3.2 north
    pop4.1 north
    pop4.2 north

    My hesitation in performing analysis (1) after estimating dispersion on the full dataset is that the samples between localities are quite differentiated, so I'm not sure it's appropriated to allow replicates from one locality to influence dispersion for the full data set.

    It's actually a simple scenario, but I can't convince myself of the appropriate way. Any insights from a more statistical mind would be greatly appreciated!!

    Thanks!

Latest Articles

Collapse

  • 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
  • SEQadmin2
    Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
    by SEQadmin2



    Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

    Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
    ...
    10-14-2026, 09:55 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, Yesterday, 07:59 AM
0 responses
13 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 11-05-2026, 09:25 AM
0 responses
32 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 11-03-2026, 11:54 AM
0 responses
45 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-28-2026, 09:57 AM
0 responses
171 views
0 reactions
Last Post SEQadmin2  
Working...