Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • aprilw
    Junior Member
    • May 2012
    • 8

    Help Using DESeq without replicates

    Hello,

    I'm working with a data set that we have yet to replicate. I'm trying to take a cursory look at the differential expression, but I keep getting an error I don't understand. I don't know if it matters but I'm generating my count tables with HTSeq. Here is the error:

    > table = read.delim(file="~/neuron_rna_seq/hypodermis_table.txt", header=FALSE, stringsAsFactors=TRUE)
    > cds = newCountDataSetFromHTSeqCount(table, directory="~/neuron_rna_seq")
    > cds = estimateSizeFactors( cds )
    > sizeFactors( cds )
    hypodermis hypodermis_unfiltered
    0.3333333 3.0000000
    > cds = estimateDispersions(cds, method="blind", sharingMode="fit-only")
    Error in parametricDispersionFit(means, disps) :
    Parametric dispersion fit failed. Try a local fit and/or a pooled estimation. (See '?estimateDispersions')
    In addition: Warning message:
    glm.fit: algorithm did not converge
    #Because of this I use the local fit
    > cds = estimateDispersions(cds, method="blind", sharingMode="fit-only", fitType="local")
    > results = nbinomTest(cds, "hypodermis", "hypodermis_unfiltered")
    #Error in question
    Error in if (dispTable(cds)[condA] == "blind" || dispTable(cds)[condB] == :
    missing value where TRUE/FALSE needed


    I apologize if this is a basic question, I'm not an experienced user.

    Thanks!
    April
  • aprilw
    Junior Member
    • May 2012
    • 8

    #2
    Answer to my own question

    Hi All,

    Figures the first time I post a question I end up answering it myself.

    My conditions were not named what I thought they were. I solved this by using dispTable(cds)[CondA]. With the incorrect condition name this evaluated to NA, thus causing the error.

    Sorry for the stupid question, maybe this will help a similarly misguided person!

    Comment

    • Pseudoknot
      Junior Member
      • May 2012
      • 4

      #3
      It was useful, thanks!

      Comment

      • indugun
        Junior Member
        • Apr 2013
        • 4

        #4
        raju

        Originally posted by aprilw View Post
        Hello,

        I'm working with a data set that we have yet to replicate. I'm trying to take a cursory look at the differential expression, but I keep getting an error I don't understand. I don't know if it matters but I'm generating my count tables with HTSeq. Here is the error:

        > table = read.delim(file="~/neuron_rna_seq/hypodermis_table.txt", header=FALSE, stringsAsFactors=TRUE)
        > cds = newCountDataSetFromHTSeqCount(table, directory="~/neuron_rna_seq")
        > cds = estimateSizeFactors( cds )
        > sizeFactors( cds )
        hypodermis hypodermis_unfiltered
        0.3333333 3.0000000
        > cds = estimateDispersions(cds, method="blind", sharingMode="fit-only")
        Error in parametricDispersionFit(means, disps) :
        Parametric dispersion fit failed. Try a local fit and/or a pooled estimation. (See '?estimateDispersions')
        In addition: Warning message:
        glm.fit: algorithm did not converge
        #Because of this I use the local fit
        > cds = estimateDispersions(cds, method="blind", sharingMode="fit-only", fitType="local")
        > results = nbinomTest(cds, "hypodermis", "hypodermis_unfiltered")
        #Error in question
        Error in if (dispTable(cds)[condA] == "blind" || dispTable(cds)[condB] == :
        missing value where TRUE/FALSE needed


        I apologize if this is a basic question, I'm not an experienced user.

        Thanks!
        April
        Useful
        Thank you

        Comment

        • jeky82
          Junior Member
          • Jul 2013
          • 1

          #5
          I have the same error … but I did not understand how solve it, can you help me?

          Comment

          • IsBeth
            Member
            • Nov 2013
            • 28

            #6
            My pipeline in DEseq using data without replicates and 2 conditions is not working either. I thought that something was wrong with the dispersion. But no dispersion method works, so...maybe there's a problem with the preprocessing? Anybody got the same problem with DESeq?

            Comment

            • choseqid
              Junior Member
              • Apr 2013
              • 5

              #7
              Hi April,

              What exactly did you do with dispTable(cds)[CondA]?

              Thanks.

              Originally posted by aprilw View Post
              Hi All,

              Figures the first time I post a question I end up answering it myself.

              My conditions were not named what I thought they were. I solved this by using dispTable(cds)[CondA]. With the incorrect condition name this evaluated to NA, thus causing the error.

              Sorry for the stupid question, maybe this will help a similarly misguided person!

              Comment

              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...
                06-18-2026, 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

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, Today, 05:37 AM
              0 responses
              5 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 06-26-2026, 11:10 AM
              0 responses
              16 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 06-17-2026, 06:09 AM
              0 responses
              50 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 06-09-2026, 11:58 AM
              0 responses
              109 views
              0 reactions
              Last Post SEQadmin2  
              Working...