Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • sbcn
    Member
    • Oct 2012
    • 16

    pathview failing on metabolic pathways

    Dear all,

    I am using R package "pathview" to map my data to B.cereus (bce) KEGG networks.

    It works very well with most networks, but I can make it work with the metabolic pathways, for example, bce01100.
    I want to obtain something as Figure 5 from: http://pathview.r-forge.r-project.org/

    I don't get any error message: it takes a long time to process, and at the end I get a graph with no node coloured (although I know there are genes corresponding to some of those).

    My command is:
    mypath <- pathview(gene.data = mygenes, pathway.id = "01100", species = "bce", gene.idtype="KEGG", kegg.native=T, split.group=F, same.layer=F)

    Do these pathways work with compound data only, and not gene IDs?
    In this case, how can I obtain the corresponding compound ID?

    head(rownames(allsubset))
    [1] "BC_r01" "BC_r03" "BC0014" "BC0018" "BC0030" "BC0044"

    sessionInfo()
    R version 3.3.0 (2016-05-03)
    Platform: x86_64-redhat-linux-gnu (64-bit)
    Running under: Scientific Linux release 6.5 (Carbon)

    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=en_US.UTF-8 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] parallel stats4 stats graphics grDevices utils datasets
    [8] methods base

    other attached packages:
    [1] KEGGgraph_1.28.0 pathview_1.10.1 org.Hs.eg.db_3.2.3
    [4] RSQLite_1.1-1 AnnotationDbi_1.32.3 IRanges_2.4.8
    [7] S4Vectors_0.8.11 Biobase_2.30.0 BiocGenerics_0.16.1
    [10] limma_3.26.9

    loaded via a namespace (and not attached):
    [1] Rcpp_0.12.8 XML_3.98-1.5 Biostrings_2.38.4 png_0.1-7
    [5] digest_0.6.10 R6_2.2.0 grid_3.3.0 DBI_0.5-1
    [9] httr_1.2.1 graph_1.48.0 zlibbioc_1.16.0 XVector_0.10.0
    [13] Rgraphviz_2.14.0 tools_3.3.0 memoise_1.0.0 KEGGREST_1.10.1

    Thanks!
  • mastal
    Senior Member
    • Mar 2009
    • 666

    #2
    I have been using pathview together with the R package 'gage'. I was working with various mammalian genomes, and I found that it would only work with Entrez Gene IDs.
    I'm sure for metabolic pathways it will work with gene IDs. I'm not familiar with bacterial gene IDs, maybe the IDs you have are Entrez Gene IDs rather than kegg IDs?

    Comment

    • bigmw
      Senior Member
      • Aug 2013
      • 124

      #3
      sbcn,
      There are a few general pathways in KEGG, like 01100, 01200 etc. they are not really classical pathways. Gene/protein nodes on these diagrams are edges instead of nodes, for example:


      This is the reason why pathview does not map gene data onto these pathway graphs. Pathview does map compound data onto these pathway graphs though, as shown in Figure 5 at http://pathview.r-forge.r-project.org/.

      Comment

      • sbcn
        Member
        • Oct 2012
        • 16

        #4
        Thank you both for your replies.
        So it there a way that I can convert or reduce the data from genes to compounds? I am not very familiar with this...

        Comment

        • bigmw
          Senior Member
          • Aug 2013
          • 124

          #5
          Compound data and gene data are two different types, and are represented differently in pathway graphs. they cannot convert to each other.

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
            by SEQadmin2



            Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
            ...
            07-09-2026, 11:10 AM
          • 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...
            07-08-2026, 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

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 07-13-2026, 10:26 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-09-2026, 10:04 AM
          0 responses
          31 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-08-2026, 10:08 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-07-2026, 11:05 AM
          0 responses
          34 views
          0 reactions
          Last Post SEQadmin2  
          Working...