inst/unitTests/test_queryRegulome.R

test_queryRegulome <- function() {
    ## Test vector of SNPs
    url <- "http://www.regulomedb.org/"
    x <- url.exists(url)
    if(x) {
        x <- regulomeSummary(c("rs4791078","rs10048158"), timeout = 100000)
    } else {
        print(paste("WARNING:", url, "not exists"))
    }
}

Try the haploR package in your browser

Any scripts or data that you put into this service are public.

haploR documentation built on Oct. 9, 2023, 5:09 p.m.