getBridgeNames: Method to list the BridgeDb identifier mapping file names as...

Description Usage Arguments Value Author(s) Examples

View source: R/getBridgeNames.R

Description

This method returns a list of file names of BridgeDb identifier mapping files as they are available from the mapping file download site. The optional code parameter can be used to restrict the list to a specific organism.

Occassionally, the ID mapping file download website changes the pattern of the file names. In that case, you can provide an alternative filename pattern to recognize files on the download site.

Usage

1
getBridgeNames(code, website, pattern)

Arguments

code

the organism code

website

optional parameter that allows you to provide a different location to download BridgeDb Derby files from.

pattern

optional parameter to change the filename pattern of the BridgeDb Derby files.

Value

list

the list of available BridgeDb mapping files

Author(s)

Egon Willighagen Christ Leemans

Examples

1
2
3
4
5
6
7
8
files <- getBridgeNames("Hs")
## Not run: 
prereleases <- getBridgeNames(
    website="http://bridgedb.org/data/gene_database/pre-release/",
    pattern="metabolites_\d*.bridge"
)

## End(Not run)

egonw/BridgeDbR documentation built on July 19, 2018, 3:35 a.m.