Learn R Programming

DIscBIO (version 1.2.2)

retrieveURL: Retries a URL

Description

Retries a URL

Usage

retrieveURL(data, species, outputFormat, maxRetries = 3, successCode = 200)

Value

either the output of httr::GET or an error message

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

Author

Waldir Leoncio