R/EnsDbResource-class.R

### =========================================================================
### EnsDb objects
### -------------------------------------------------------------------------
###

setClass("EnsDbResource", contains="AnnotationHubResource")

setMethod(".get1", "EnsDbResource",
    function(x, ...)
{
    .require("ensembldb")
    ensembldb::EnsDb(cache(getHub(x)))
})

Try the AnnotationHub package in your browser

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

AnnotationHub documentation built on April 17, 2021, 6:01 p.m.