retrieveURL {DIscBIO} | R Documentation |
Retries a URL
Description
Retries a URL
Usage
retrieveURL(data, species, outputFormat, maxRetries = 3, successCode = 200)
Arguments
data |
A gene list |
species |
The taxonomy name/id. Default is "9606" for Homo sapiens |
outputFormat |
format of the output. Can be "highres_image", "tsv", "json", "tsv-no-header", "xml" |
maxRetries |
maximum number of attempts to connect to the STRING api. |
successCode |
Status code number that represents success |
Value
either the output of httr::GET or an error message
Author(s)
Waldir Leoncio
[Package DIscBIO version 1.2.2 Index]