Unconfigured Ad

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

    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
    Nine Things a Sample Prep Scientist Thinks About Before Sequencing
    by SEQadmin2


    I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.


    Here are nine questions we think about, in roughly the order they matter, before...
    Yesterday, 07:11 AM
  • SEQadmin2
    From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
    by SEQadmin2


    Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


    The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
    ...
    06-02-2026, 10:05 AM
  • SEQadmin2
    Single-Cell Sequencing at an Inflection Point: Early Impacts of New Platforms and Emerging Trends
    by SEQadmin2


    With the launch of new single-cell sequencing platforms in 2026, the field stands at an exciting inflection point. This article surveys the most impactful advances in the field and discusses how they’re reshaping research in cancer, immunology, and beyond.


    Introduction

    Single-cell sequencing technologies have undergone remarkable advances over the past decade, transitioning from low-throughput experimental approaches to highly scalable platforms capable of...
    05-22-2026, 06:42 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 06-17-2026, 06:09 AM
0 responses
16 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 06-09-2026, 11:58 AM
0 responses
37 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 06-05-2026, 10:09 AM
0 responses
43 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 06-04-2026, 08:59 AM
0 responses
49 views
0 reactions
Last Post SEQadmin2  
Working...