from py2cytoscape import cytoscapejs
import pandas as pd
cytoscapejs.render(pd.read_json("https://github.com/idekerlab/py2cytoscape/raw/develop/examples/initialisation.json"))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt install opensm libmlx4-1 openmpi-bin libopenmpi-dev |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(SPARQL) # SPARQL querying package | |
| endpoint <- "http://sparql.uniprot.org/" | |
| # create query statement | |
| query <- | |
| " | |
| PREFIX up:<http://purl.uniprot.org/core/> | |
| SELECT ?taxon |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(SPARQL) # SPARQL querying package | |
| endpoint <- "http://www.ebi.ac.uk/rdf/services/biomodels/sparql" | |
| query <- | |
| " | |
| PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
| PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
| PREFIX owl: <http://www.w3.org/2002/07/owl#> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from SPARQLWrapper import SPARQLWrapper, JSON | |
| #sparql = SPARQLWrapper("http://sparql.uniprot.org/") | |
| sparql = SPARQLWrapper("http://sparql.uniprot.org/sparql/") | |
| sparql.setQuery(""" | |
| PREFIX up:<http://purl.uniprot.org/core/> | |
| SELECT ?taxon | |
| FROM <http://sparql.uniprot.org/taxonomy/> | |
| WHERE | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
| PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
| PREFIX owl: <http://www.w3.org/2002/07/owl#> | |
| PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
| PREFIX dc: <http://purl.org/dc/elements/1.1/> | |
| PREFIX dcterms: <http://purl.org/dc/terms/> | |
| PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
| PREFIX skos: <http://www.w3.org/2004/02/skos/core#> | |
| PREFIX biopax3: <http://www.biopax.org/release/biopax-level3.owl#> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Below is your R command history : | |
| InitDataObjects("conc", "msetora", FALSE) | |
| Setup.MapData(tmp.vec); | |
| CrossReferencing("hmdb"); | |
| SetMetabolomeFilter(F); | |
| SetCurrentMsetLib("pathway", 0, F); | |
| CalculateHyperScore() | |
| SaveTransformedData() |