Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • RockChalkJayhawk
    Senior Member
    • Mar 2009
    • 192

    glmnb.fit in DEXSeq

    Does anyone else have this problem?
    Code:
    library(DEXSeq)
    annotationfile = file.path("/TN_RNA-Seq/Alt_SPlicing/DEXSeq/hg19.prepared.gtf")
    samples=read.table("Targets/Samples.txt",row.names=1)
    inDir=file.path("/TN_RNA-Seq/Alt_SPlicing/DEXSeq/Targets")
    
    ecs = read.HTSeqCounts(countfiles = file.path(inDir, paste(rownames(samples))),design = samples,flattenedfile = annotationfile)
    
    ecs <- makeCompleteDEUAnalysis(ecs)
    Dispersion estimation. (Progress report: one dot per 100 genes)
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    In addition: Warning message:
    In .local(object, ...) :
      Exons with less than 11 counts will be discarded. For more details read the documentation, parameter minCount
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    Error in fitted.values(glmnb.fit(mm, y, initialGuess, mf$offset, start = start)) :
      could not find function "glmnb.fit"
    
    Error in fitDispersionFunction(ecs) :
      no CR dispersion estimations found, please first call estimateDispersions function
    In addition: There were 22 warnings (use warnings() to see them)
    or else does anyone know what the function glmnb.fit is supposed to be?

    I updated my statmod library, but I don't see the function.
  • Simon Anders
    Senior Member
    • Feb 2010
    • 995

    #2
    Could you please post the output of 'sessionInfo()'?

    As you correctly noticed, 'glmnb.fit' comes with 'statmod' and at least in the current version, 1.4.14, it is available.

    Comment

    • RockChalkJayhawk
      Senior Member
      • Mar 2009
      • 192

      #3
      Code:
      > sessionInfo()
      R version 2.12.0 (2010-10-15)
      Platform: x86_64-unknown-linux-gnu (64-bit)
      
      locale:
       [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
       [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
       [5] LC_MONETARY=C              LC_MESSAGES=en_US.UTF-8
       [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
       [9] LC_ADDRESS=C               LC_TELEPHONE=C
      [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
      
      attached base packages:
      [1] stats     graphics  grDevices utils     datasets  methods   base
      
      other attached packages:
      [1] stringr_0.5    statmod_1.4.6  MASS_7.3-8     pasilla_0.2.10 DEXSeq_1.0.1
      [6] Biobase_2.14.0
      
      loaded via a namespace (and not attached):
      [1] hwriter_1.3  plyr_1.6     tools_2.12.0

      Comment

      • Simon Anders
        Senior Member
        • Feb 2010
        • 995

        #4
        The current version of statmod is 1.4.14 but you have 1.4.6. This is your problem.

        If you install Bioconductor packages, please use the biocLite script as explained here. However, note that Bioconductor versions are tied to R versions: If you use R 2.12, you will get packages from Bioconductor 2.7. DEXSeq is only available since the current Bioconductor release, Bioconductor 2.9, which biocLite will only use if you have the current R version, namely R 2.14.

        Comment

        • RockChalkJayhawk
          Senior Member
          • Mar 2009
          • 192

          #5
          Got it Simon. I'll post just to make sure this takes care of it.

          Comment

          • RockChalkJayhawk
            Senior Member
            • Mar 2009
            • 192

            #6
            That did it. Thanks again.

            Comment

            Latest Articles

            Collapse

            • SEQadmin2
              Cancer Drug Resistance: The Lingering Barrier to Rising Survival
              by SEQadmin2



              Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

              There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
              Yesterday, 05:17 AM
            • 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, Yesterday, 10:08 AM
            0 responses
            6 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-07-2026, 11:05 AM
            0 responses
            8 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-02-2026, 11:08 AM
            0 responses
            31 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-30-2026, 05:37 AM
            0 responses
            29 views
            0 reactions
            Last Post SEQadmin2  
            Working...