Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • seqadmin
    Current Approaches to Protein Sequencing
    by seqadmin


    Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
    04-04-2024, 04:25 PM
  • seqadmin
    Strategies for Sequencing Challenging Samples
    by seqadmin


    Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
    03-22-2024, 06:39 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, 04-11-2024, 12:08 PM
0 responses
18 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-10-2024, 10:19 PM
0 responses
22 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-10-2024, 09:21 AM
0 responses
16 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-04-2024, 09:00 AM
0 responses
47 views
0 likes
Last Post seqadmin  
Working...
X