Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wmseq
    Member
    • May 2011
    • 71

    #1

    Why could I not find "kegg.gsets" function in gage package?

    Hi bigmw,
    I could not find the function of "kegg.gsets" in gage package. Do you have any idea about it?
    Was it because I used version 2. 12.0 instead of 2.11.3?
    > library(gage)
    > ?kegg.gsets
    No documentation for ‘kegg.gsets’ in specified packages and libraries:
    you could try ‘??kegg.gsets’

    Thanks a lot!!

    Richard
    Last edited by wmseq; 11-25-2013, 12:53 PM.
  • bigmw
    Senior Member
    • Aug 2013
    • 124

    #2
    kegg.gsets is a new function introduced into gage since Bioconductor 2.13 (gage version >= 2.12.0).
    Make sure you install the current release version here:
    Generally Applicable Gene-set Enrichment for Pathway Analysis

    Comment

    • wmseq
      Member
      • May 2011
      • 71

      #3
      Thanks, bigmw!
      I am sure I installed it from Bioconducto 2.13.
      The commands I used are as follows:
      source("http://bioconductor.org/biocLite.R")
      biocLite("gage")

      Comment

      • bigmw
        Senior Member
        • Aug 2013
        • 124

        #4
        The the package version biocLite() installs depends on your R/Bioconductor version. To install the current release of bioc packages like gage, you have to make sure your R/Bioconductor version is or newer than 3.0/2.13. To check the status/versions of your bioc packages:
        If you are sure you have R version 3.0 or later:
        library(BiocInstaller)
        biocValid()

        If you are not sure, do:
        sessionInfo()

        I would expect you see outdated R/Bioconductor (and package) versions from above output. To install or update your R/Bioconductor, please check:
        The Bioconductor project aims to develop and share open source software for precise and repeatable analysis of biological data. We foster an inclusive and collaborative community of developers and data scientists.

        Comment

        • wmseq
          Member
          • May 2011
          • 71

          #5
          Hi bigmw,
          I have solved the problem. It was because some files in a local directory could not be updated automatically, so that they have to be removed by hand, and than update R.

          Now, I can find "kegg.gsets" function, but when I ran the following command, I got another error message.

          > kg.ame=kegg.gsets("ame")
          Error in korg[ridx, coln] : subscript out of bounds

          Do you have any idea on its fixing?

          Thanks!

          Richard

          Comment

          • bigmw
            Senior Member
            • Aug 2013
            • 124

            #6
            The code I give you has been tested across multiple platforms. Below is what I got on my computers. No sure what happened on your side.
            You seem to have many odd problems with your computer based on your previous questions/notes. I would suggest you either find another computer or clean up your system (if you can) and resintall the updated R/Bioconductor, gage, pathview and other package from scratch. This will make your work much easier.

            > kg.ame=kegg.gsets("ame")
            > lapply(kg.ame, head, 3)
            $kg.sets
            $kg.sets$`ame00010 Glycolysis / Gluconeogenesis`
            [1] "408559" "408654" "409624" "409773" "410122" "411140" "411188" "411576" "411897" "412362" "412522" "412843" "413924"
            [14] "550687" "550785" "551005" "551039" "551103" "551154" "551631" "552007" "552086" "552678" "552736" "724724" "725455"
            [27] "726117" "726225" "727153" "727456"

            $kg.sets$`ame00020 Citrate cycle (TCA cycle)`
            …

            $sigmet.idx
            [1] 76 82 83

            $sig.idx
            [1] 76 82 83

            $met.idx
            [1] 1 2 3

            $dise.idx
            integer(0)

            Comment

            • wmseq
              Member
              • May 2011
              • 71

              #7
              Thanks a lot, bigmw!
              I will consult a computer guy to do it.

              Comment

              • bigmw
                Senior Member
                • Aug 2013
                • 124

                #8
                One thing you may also consider is to double check that gage has readlly been updated and successfully reloaded. You may want to restart an R session, and do:
                library(gage)
                kg.ame=kegg.gsets("ame")

                If the same problem still persist, do:
                sessionInfo()

                and post the output here.

                Comment

                Latest Articles

                Collapse

                • kinpict.com
                  Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                  by kinpict.com
                  The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
                  Today, 06:37 PM
                • SEQadmin2
                  16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                  by SEQadmin2





                  NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
                  10-30-2026, 06:46 AM

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by SEQadmin2, 11-12-2026, 07:59 AM
                0 responses
                28 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 11-05-2026, 09:25 AM
                0 responses
                35 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 11-03-2026, 11:54 AM
                2 responses
                56 views
                0 reactions
                Last Post kinpict.com  
                Started by SEQadmin2, 10-28-2026, 09:57 AM
                0 responses
                175 views
                0 reactions
                Last Post SEQadmin2  
                Working...