View source: R/get_uniprot_data.R
build_query_url | R Documentation |
Accessory function used to build the query url
build_query_url(
query = NULL,
base_url = "https://rest.uniprot.org/uniprotkb/",
columns = c("accession", "id", "gene_names", "organism_name", "reviewed"),
format = "json"
)
query |
list of keys corresponding to UniProt's query fields. For example : list("gene_exact" = c("Pik3r1", "Pik3r2") , "organism" = c("10090", "9606"), "reviewed" = "yes") |
base_url |
The base url for the UniProt REST API |
columns |
names of UniProt data columns to retrieve. |
format |
format of the response provided by the UniProt API |
the query url
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.