SBGNview is a tool set for pathway based data visualization, integration and analysis. SBGNview is similar and complementary to the widely used Pathview package, with the following key features:
Pathway definition by the widely adopted Systems Biology Graphical Notation (SBGN);
Supports multiple major pathway databases beyond KEGG (Reactome, MetaCyc, SMPDB, PANTHER, METACROP etc) and user defined pathways;
Covers 5,200 reference pathways and over 3,000 species by default;
Extensive graphics controls, including glyph and edge attributes, graph layout and sub-pathway highlight;
SBGN pathway data manipulation, processing, extraction and analysis.
Hi, I have tried the package, it was pretty great although there are some mistakes in the Rcode (vignette). I have write an email to inform the author.
I wonder if you can tell me why the expression of some metabolites (circles) has only been painted half (half blue and half grey) while some others are entirely blue/yellow ? I couldn't find an explanation in the manual and the vignette, considering I only focus on one sample on my metabolomics data (only one expression column).
Greyman,
Thanks for reporting the issue. As mentioned in the post, we just made some major updates recently. It is likely you are using some old version. You would need to install the latest versions of both SBGNview.data and SBGNview packages.
In both Pathview and SBGNview, gene nodes (rectangles) and compound nodes are divided into multiple slices corresponding to the number of samples/experiments/columns in your input data. if you have a single column matrix or vector as input data, we will only see one color piece. we will add some description on this to help first-time users. Thanks.
thank you for the reply. I wondered if multiple kegg compound accession id point to the same metabolites circle. Attached is the output that confused me, as i can see for "Ca2+", half of it is dark blue while another half is light blue, since I only have one vector.
thank you very much for the fast response, it is the issue of my bioconductor and the package has worked smoothly for me now. However, I am wondering why some pathways do not show up in the search eventhough it is a pathway that can be found in hsa? And how to do a species specific pathway search in the package? I am interested to look at "Dorso-ventral axis formation" of drosophila (dme) which can be found in kegg ortholog database, it does not show up when i use findPathwyas() to look for it, did I miss out some steps at this point? I tried to customized the sbgn-ml file with kegg translator, yet my input shows an error:
../Downloads/ko04320-ortholog-test.sbgn looks like a local file. Using it directly.
Using user defined pathway SBGN-ML file!!
reading SBGN-ML file for arcs info: .//../Downloads/ko04320-ortholog-test.sbgn
Rendering SBGN graph
checking graph size and create margin for color panel
parsing ports
parsing glyphs
Map language is hybrid any
parsing arcs
[1] "using original edges"
plotting color panel
SBGNview object generated
dorso.test
cannot open file 'dorso_output_../Downloads/ko04320-ortholog.sbgn.svg': No such file or directoryError in file(file, >ifelse(append, "a", "w")) :
cannot open the connection
Is there a way to link this package to the kegg pathway database?
Above is the SBGN file, do i need to customize another file to get it works? If so, can you give me some suggestion or to include this in the future R tutorial?
When passing a SBGN file to SBGNview function, the input.sbgn argument takes the name of the file ("ko04320-ortholog.sbgn"). If the file you are using is in a different directory, you need to specify the path to the directory containing the SBGN file using the sbgn.dir argument. Also, make sure you specify the org argument in SBGNview function (org = "dme").
greyman,
SBGNview covers major pathway databases beyond KEGG (Reactome, MetaCyc, SMPDB, PANTHER, METACROP etc) and custom pathways in SBGN format. https://github.com/datapplab/SBGNview
we’ve developed another package Pathview, which focuses on KEGG pathways. https://www.bioconductor.org/packages/pathview
In pathview, you can do something like assuming your.data has Entrez Gene ID:
But when I use pathview, I cannot highlight Nodes/Metabolites of preference such as differentially expressed genes. It can only be achieved through SBGN view
I installed the latest release version of SBGNview, and follow the tutorial https://bioconductor.org/packages/release/bioc/vignettes/SBGNview/inst/doc/SBGNview.Vignette.html
I tried compound data with either one column or two columns (samples). The output color slices are one and two correspondingly. So I was not able to replicate your problem. not sure what happened in your end.
BTW, I would suggest you install the latest version of SBGNview and SBGNview.data. you may need to update your Bioconductor and R too.
Hi, I have tried the package, it was pretty great although there are some mistakes in the Rcode (vignette). I have write an email to inform the author. I wonder if you can tell me why the expression of some metabolites (circles) has only been painted half (half blue and half grey) while some others are entirely blue/yellow ? I couldn't find an explanation in the manual and the vignette, considering I only focus on one sample on my metabolomics data (only one expression column).
Greyman,
Thanks for reporting the issue. As mentioned in the post, we just made some major updates recently. It is likely you are using some old version. You would need to install the latest versions of both SBGNview.data and SBGNview packages.
In both Pathview and SBGNview, gene nodes (rectangles) and compound nodes are divided into multiple slices corresponding to the number of samples/experiments/columns in your input data. if you have a single column matrix or vector as input data, we will only see one color piece. we will add some description on this to help first-time users. Thanks.
bigmawen,
thank you for the reply. I wondered if multiple kegg compound accession id point to the same metabolites circle. Attached is the output that confused me, as i can see for "Ca2+", half of it is dark blue while another half is light blue, since I only have one vector.
hi,
thank you very much for the fast response, it is the issue of my bioconductor and the package has worked smoothly for me now. However, I am wondering why some pathways do not show up in the search eventhough it is a pathway that can be found in hsa? And how to do a species specific pathway search in the package? I am interested to look at "Dorso-ventral axis formation" of drosophila (dme) which can be found in kegg ortholog database, it does not show up when i use findPathwyas() to look for it, did I miss out some steps at this point? I tried to customized the sbgn-ml file with kegg translator, yet my input shows an error:
I included the sbgn.gene.id.type with "ko" this time:
Is there a way to link this package to the kegg pathway database? Above is the SBGN file, do i need to customize another file to get it works? If so, can you give me some suggestion or to include this in the future R tutorial?
Hello greyman,
When passing a SBGN file to SBGNview function, the input.sbgn argument takes the name of the file ("ko04320-ortholog.sbgn"). If the file you are using is in a different directory, you need to specify the path to the directory containing the SBGN file using the sbgn.dir argument. Also, make sure you specify the org argument in SBGNview function (org = "dme").
Your code should look something like this:
Thank you, I will open a new thread to post the mapping issue,
Hi, below is the post of question, I hope this is the final hurdle, thank you very much!
How to make SBGNview accepts custom sbgn input or kegg pathway? ID mapping tables between gene IDs and SBGN file glyph IDs.
greyman,
SBGNview covers major pathway databases beyond KEGG (Reactome, MetaCyc, SMPDB, PANTHER, METACROP etc) and custom pathways in SBGN format.
https://github.com/datapplab/SBGNview
we’ve developed another package Pathview, which focuses on KEGG pathways.
https://www.bioconductor.org/packages/pathview
In pathview, you can do something like assuming your.data has Entrez Gene ID:
In SBGNview, you can do a species specific pathway search like:
But when I use pathview, I cannot highlight Nodes/Metabolites of preference such as differentially expressed genes. It can only be achieved through SBGN view
greyman : Please create a new post with your questions about this tool.
This thread should be reserved as a original announcement of the package.
okay sure, can I still reply to this thread or I should start a new one now?
Hi, Can I use this package in offline mode without an active connect with some predownloaded files.