Skip to content

Instantly share code, notes, and snippets.

@kozo2
Created December 25, 2019 01:23
Show Gist options
  • Save kozo2/de2ea136e4bd9d0ada1124de5c869d50 to your computer and use it in GitHub Desktop.
Save kozo2/de2ea136e4bd9d0ada1124de5c869d50 to your computer and use it in GitHub Desktop.
# WikiPathways
[WikiPathways](https://www.wikipathways.org/) is a collaborative wiki platform with manually pathway models.
It currently covers over 2,600 pathways in 25 species-specific collections.
- To search WikiPathways, load [rWikiPathways](https://bioconductor.org/packages/release/bioc/html/rWikiPathways.html) and call the `findPathwayByText` function with your search terms (here we use 'statin' as the term)
```{r}
library(rWikiPathways)
statin.pathways <- findPathwaysByText('statin')
```
- WikiPathways search results are displayed as a list of all available pathway models matching the search term.
```{r}
print(statin.pathways)
```
- To restrict the results to a specific specues, use the Only selector at the top and pick a species from the drop-down.
- Pathway models will open with the original pathway layout by default. To open the pathway as a network, select the Import as Network option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment