|
a |
|
b/man/retrieveURL.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/internal-functions.R |
|
|
3 |
\name{retrieveURL} |
|
|
4 |
\alias{retrieveURL} |
|
|
5 |
\title{Retries a URL} |
|
|
6 |
\usage{ |
|
|
7 |
retrieveURL(data, species, outputFormat, maxRetries = 3, successCode = 200) |
|
|
8 |
} |
|
|
9 |
\arguments{ |
|
|
10 |
\item{data}{A gene list} |
|
|
11 |
|
|
|
12 |
\item{species}{The taxonomy name/id. Default is "9606" for Homo sapiens} |
|
|
13 |
|
|
|
14 |
\item{outputFormat}{format of the output. Can be "highres_image", "tsv", |
|
|
15 |
"json", "tsv-no-header", "xml"} |
|
|
16 |
|
|
|
17 |
\item{maxRetries}{maximum number of attempts to connect to the STRING api.} |
|
|
18 |
|
|
|
19 |
\item{successCode}{Status code number that represents success} |
|
|
20 |
} |
|
|
21 |
\value{ |
|
|
22 |
either the output of httr::GET or an error message |
|
|
23 |
} |
|
|
24 |
\description{ |
|
|
25 |
Retries a URL |
|
|
26 |
} |
|
|
27 |
\author{ |
|
|
28 |
Waldir Leoncio |
|
|
29 |
} |