Skip to content

Commit b496f10

Browse files
committed
Update README msigdb examples
1 parent 5fbf99e commit b496f10

File tree

3 files changed

+20
-21
lines changed

3 files changed

+20
-21
lines changed

README.Rmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ signatures <- wgcna[[1]]
7777
str(signatures)
7878
7979
# Access to hundreds of genesets
80-
genesets <- msigdb_gsets("Homo sapiens", "C2", "CP:KEGG", clean=TRUE)
80+
genesets <- msigdb_gsets("Homo sapiens", "C2", "CP:KEGG_LEGACY", clean=TRUE)
8181
print(genesets)
8282
```
8383

@@ -124,9 +124,9 @@ Please visit the [documentation](https://montilab.github.io/hypeR-docs/) for det
124124

125125
##### Downloading genesets
126126
```{r, eval=FALSE}
127-
BIOCARTA <- msigdb_gsets(species="Homo sapiens", category="C2", subcategory="CP:BIOCARTA")
128-
KEGG <- msigdb_gsets(species="Homo sapiens", category="C2", subcategory="CP:KEGG")
129-
REACTOME <- msigdb_gsets(species="Homo sapiens", category="C2", subcategory="CP:REACTOME")
127+
BIOCARTA <- msigdb_gsets(species="Homo sapiens", collection="C2", subcollection="CP:BIOCARTA")
128+
KEGG <- msigdb_gsets(species="Homo sapiens", collection="C2", subcollection="CP:KEGG_LEGACY")
129+
REACTOME <- msigdb_gsets(species="Homo sapiens", collection="C2", subcollection="CP:REACTOME")
130130
```
131131

132132
##### Visualize results

README.md

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Please visit <https://montilab.github.io/hypeR-docs/>
1717

1818
You can also try out our
1919
[web-application](https://hyper-shiny.shinyapps.io/wapp/) if you prefer
20-
an interface\!
20+
an interface!
2121

2222
## Requirements
2323

@@ -102,11 +102,11 @@ str(signatures)
102102

103103
``` r
104104
# Access to hundreds of genesets
105-
genesets <- msigdb_gsets("Homo sapiens", "C2", "CP:KEGG", clean=TRUE)
105+
genesets <- msigdb_gsets("Homo sapiens", "C2", "CP:KEGG_LEGACY", clean=TRUE)
106106
print(genesets)
107107
```
108108

109-
#> C2.CP:KEGG v7.4.1
109+
#> C2.CP:KEGG_LEGACY v24.1.0
110110
#> Abc Transporters (44)
111111
#> Acute Myeloid Leukemia (57)
112112
#> Adherens Junction (73)
@@ -175,9 +175,9 @@ for detailed functionality. Below is a brief list of some methods.
175175
##### Downloading genesets
176176

177177
``` r
178-
BIOCARTA <- msigdb_gsets(species="Homo sapiens", category="C2", subcategory="CP:BIOCARTA")
179-
KEGG <- msigdb_gsets(species="Homo sapiens", category="C2", subcategory="CP:KEGG")
180-
REACTOME <- msigdb_gsets(species="Homo sapiens", category="C2", subcategory="CP:REACTOME")
178+
BIOCARTA <- msigdb_gsets(species="Homo sapiens", collection="C2", subcollection="CP:BIOCARTA")
179+
KEGG <- msigdb_gsets(species="Homo sapiens", collection="C2", subcollection="CP:KEGG_LEGACY")
180+
REACTOME <- msigdb_gsets(species="Homo sapiens", collection="C2", subcollection="CP:REACTOME")
181181
```
182182

183183
##### Visualize results
@@ -218,24 +218,23 @@ hyp_to_rmd(hyp_obj,
218218

219219
## Related Repositories
220220

221-
- [hypeR-db](https://github.com/montilab/hypeR-db) *A repository for
222-
commonly used open source genesets used by hypeR*
223-
- [hypeR-shiny](https://github.com/montilab/hypeR-shiny) *Our Shiny
224-
web application built on hypeR*
225-
- [hypeR-modules](https://github.com/montilab/hypeR-modules)
226-
*Integration of hypeR modules in custom Shiny applications*
227-
- [hypeR-docs](https://github.com/montilab/hypeR-docs) *Landing site
228-
for hosting documentation for hypeR*
229-
- [hypeR-workshop](https://github.com/montilab/hypeR-workshop)
230-
*Materials for a hypeR tutorial workshop*
221+
- [hypeR-db](https://github.com/montilab/hypeR-db) *A repository for
222+
commonly used open source genesets used by hypeR*
223+
- [hypeR-shiny](https://github.com/montilab/hypeR-shiny) *Our Shiny web
224+
application built on hypeR*
225+
- [hypeR-modules](https://github.com/montilab/hypeR-modules)
226+
*Integration of hypeR modules in custom Shiny applications*
227+
- [hypeR-docs](https://github.com/montilab/hypeR-docs) *Landing site for
228+
hosting documentation for hypeR*
229+
- [hypeR-workshop](https://github.com/montilab/hypeR-workshop)
230+
*Materials for a hypeR tutorial workshop*
231231

232232
## Cite
233233

234234
``` r
235235
citation("hypeR")
236236
```
237237

238-
#>
239238
#> To cite hypeR in publications use:
240239
#>
241240
#> Federico, A. & Monti, S. hypeR: an R package for geneset enrichment
-584 Bytes
Loading

0 commit comments

Comments
 (0)