For a list of chromosome and positions, finds all variants within a given radius
variants_chrpos(chrpos, radius = 0, opengwas_jwt = get_opengwas_jwt())
Data frame
list of <chr>:<pos>
in build 37,
e.g. c("3:46414943", "3:122991235")
. Also allows ranges e.g. "7:105561135-105563135"
Radius around each chrpos, default = 0
Used to authenticate protected endpoints. Login to https://api.opengwas.io to obtain a jwt. Provide the jwt string here, or store in .Renviron under the keyname OPENGWAS_JWT.