Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • mattia
    Member
    • Aug 2011
    • 30

    DESeq Estimate Dispersion

    Hi,
    I'm starting to use DESeq package since few days, so I'm not very practice yet. I would ask two question.
    First ten rows of my data file (TXT format) are presented below:

    X6a X6b
    ENSG00000000003 20 10
    ENSG00000000005 0 0
    ENSG00000000419 542 438
    ENSG00000000457 468 338
    ENSG00000000460 94 81
    ENSG00000000938 19604 14802
    ENSG00000000971 178 151
    ENSG00000001036 559 335
    ENSG00000001084 559 312

    1st question: Is my data file in the right format?
    2nd question:
    I execute these commands:
    >fuv6a6b<-read.table("C:/Programmi/R/R-devel/library/DESeq/FUV6/rawcount6a-6b.txt",header=TRUE,sep="\t",row.names=1)

    >conds <- factor( c( "X6a", "X6b"))

    >cds <- newCountDataSet( fuv6a6b, conds )

    >cds <- estimateSizeFactors( cds )

    >sizeFactors( cds )

    >head( counts( cds, normalized=TRUE ) )

    So far, so good! But when I execute this command (for estimate Variance):

    >cds <- estimateDispersions( cds )

    the program print this error message:
    Error in rowSums(sapply(tapply((1:ncol(counts))[replicated_sample], factor(conditions[replicated_sample]), :
    'x' must be an array of at least two dimensions

    How can I solve this problem?

    Thanks a lot.
    Mattia
    Last edited by mattia; 02-08-2012, 02:58 AM.
  • Simon Anders
    Senior Member
    • Feb 2010
    • 995

    #2
    Dear Mattia

    your problem is that you do not have replicates. DESeq should have stated this in the error message; I have to check why the rather cryptic message appeared instead.

    For you to go ahead, please read the section in the vignette about how to proceed without replicates and also look through the various threads here in SeqAnswers that discuss why your chances of getting any useful results from an RNA-Seq experiment without replication are rather slim.

    Simon

    Comment

    Latest Articles

    Collapse

    • GATTACAT
      Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
      by GATTACAT
      Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
      07-01-2026, 11:43 AM
    • 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...
      06-18-2026, 07:11 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 07-02-2026, 11:08 AM
    0 responses
    25 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-30-2026, 05:37 AM
    0 responses
    23 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-26-2026, 11:10 AM
    0 responses
    23 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-17-2026, 06:09 AM
    0 responses
    55 views
    0 reactions
    Last Post SEQadmin2  
    Working...