Description Usage Arguments Value Author(s) Examples
View source: R/downloadBiopaxData.R
This function has an internal list of download links for some online databases. It will retrieve the selected model from the selected database using RCurl. The downloaded file is (if needed) unzipped and ready to be used as input for rBiopaxParser::readBiopax. This function requires package RCurl to run. You can easily skip this step by downloading the exported file yourself and continuing with readBiopax.
1 2 3 4 5 6 | downloadBiopaxData(
database = "NCI",
model = c("pid", "biocarta", "reactome", "kegg"),
outputfile = "",
version = "biopax2"
)
|
database |
string. Select which database you want to download from. Currently only NCI links have been stored. |
model |
string. Select which model/file you want to download. Currently NCI versions of the Pathway Interaction Database, Biocarta, Reactome and KEGG are linked. |
outputfile |
string. The file name to save the downloaded data in. If left empty the URL file name will be used. The unzipped file name can be different from this. Check the screen output of gunzip. |
version |
string. Select which Biopax Version you want to download. |
none. Check output for the name of the unzipped biopax .owl file.
fkramer
1 2 3 | ## Not run: file = downloadBiopaxData("NCI", "biocarta", version = "biopax2")
## Not run: biopax = readBiopax(file)
## Not run: biopax
|
Loading required package: data.table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.