Seqanswers Leaderboard Ad

Collapse

Announcement

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

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

  • #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


    • #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


      • #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


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

          Comment


          • #6
            That did it. Thanks again.

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Essential Discoveries and Tools in Epitranscriptomics
              by seqadmin


              The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist on Modified Bases...
              Yesterday, 07:01 AM
            • 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

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 04-11-2024, 12:08 PM
            0 responses
            39 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            41 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 09:21 AM
            0 responses
            35 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-04-2024, 09:00 AM
            0 responses
            55 views
            0 likes
            Last Post seqadmin  
            Working...
            X