wikipathways/rWikiPathways

loading of BridgeDbR does not happen authomatically when using getXrefList()

Closed this issue · 1 comments

egonw commented

In this vignette, Section 4, when not explicitly loading BridgeDbR first, we get an error with getXrefList():

> library(rWikiPathways)
> getXrefList('WP554', getSystemCode('Ensembl'))
Error in getSystemCode("Ensembl") : 
  could not find function "getSystemCode"
> library(BridgeDbR)
Loading required package: rJava

Attaching package:BridgeDbRThe following object is masked frompackage:methods:

    getProperties

> getXrefList('WP554', getSystemCode('Ensembl'))
 [1] "ENSG00000092009" "ENSG00000100448" "ENSG00000100739" "ENSG00000105329"
 [5] "ENSG00000113889" "ENSG00000130234" "ENSG00000130368" "ENSG00000135744"
 [9] "ENSG00000143839" "ENSG00000144891" "ENSG00000151623" "ENSG00000159640"
[13] "ENSG00000164867" "ENSG00000168398" "ENSG00000179142" "ENSG00000180772"
[17] "ENSG00000182220"
egonw commented

@AlexanderPico, I will send a PR to update the vignette to make clear that getSystemCode() comes from BridgeDbR, okay? (Like in Section 3)