Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jpollack
    Junior Member
    • Sep 2011
    • 1

    #1

    DESeq Design Issue

    Hi all,

    I'm new to DESeq and am having a problem setting up the design matrix for an experiment that has 3 biological conditions with 3 replicates each and an additional factor to take into an experimental batch effect.

    I have proceeded in the following manner:

    > library(DESeq)

    > data <- read.table("aggregated_counts_final.txt", header=T, row.names=1)

    > condition <- c(rep("Control",3), rep("Rods",3), rep("Cubes",3))
    > batch <- c(rep(c(1,2,3),3))
    > Design <- as.data.frame(cbind(condition,batch),row.names=colnames(data))
    > CDS <- newCountDataSet(data,Design)
    > CDS <- estimateSizeFactors(CDS)
    > CDS <- estimateDispersions(CDS)
    Error in .local(object, ...) :
    None of your conditions is replicated. Use method='blind' to estimate across conditions, or 'pooled-CR', if you have crossed factors.

    I can't quite figure out where I've gone wrong... it seems specific to my design matrix as this is very similar to the Pasilla data example, but that works fine on my system. I suspect I'm not understanding something very basic.

    My sessionInfo is as follows:

    > sessionInfo()
    R version 2.15.2 (2012-10-26)
    Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

    locale:
    [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

    attached base packages:
    [1] stats graphics grDevices utils datasets methods base

    other attached packages:
    [1] DESeq_1.10.1 lattice_0.20-13 locfit_1.5-8 Biobase_2.18.0 BiocGenerics_0.4.0

    loaded via a namespace (and not attached):
    [1] annotate_1.36.0 AnnotationDbi_1.20.3 DBI_0.2-5 genefilter_1.40.0 geneplotter_1.36.0 grid_2.15.2 IRanges_1.16.4 parallel_2.15.2
    [9] RColorBrewer_1.0-5 RSQLite_0.11.2 splines_2.15.2 stats4_2.15.2 survival_2.37-2 tools_2.15.2 XML_3.95-0.1 xtable_1.7-0

    Thank you so much, in advance.

    Joshua Pollack

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...