post_Hs_region | R Documentation |
elementary vep/homo_sapiens/region call to ensembl VEP REST API
post_Hs_region(chr, pos, id, ref, alt)
chr |
character(1) ensembl chromosome identifier (e.g., "7") |
pos |
numeric(1) 1-based chromosome position |
id |
character(1) arbitrary identifier |
ref |
character(1) reference allele |
alt |
character(1) alternative allele |
Instance of 'response' defined in httr package.
This function prepares a POST to rest.ensembl.org/vep/homo_sapiens/region endpoint.
chk = post_Hs_region("7", 155800001, "chk", "A", "T")
chk
res = jsonlite::fromJSON(jsonlite::toJSON(httr::content(chk)))
dim(chk)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.