EQTLCatalogFetcher: EQTLCatalogFetcher

EQTLCatalogFetcherR Documentation

EQTLCatalogFetcher

Description

a small class to fetch eqtl regions by study id from the EBI eQTL catalog

Methods

Public methods


Method new()

Creates a new instance of this [R6][R6::R6Class] class.

Usage
EQTLCatalogFetcher$new(studyIDs, chrom, start, end, simplify = FALSE)
Arguments
studyIDs

character vector, e.g. "GTEx_ge_brain_frontal_cortex"

chrom

character, chromosome identifier, with or without leading "chr"

start

numeric starting base pair of the region of interest

end

numeric ending base pair of the region of interest

Returns

a new instance of EQTLCatalogFetcher


Method fetch()

obtain the requested slice of eQTLs from each study

Usage
EQTLCatalogFetcher$fetch()
Returns

nothing


Method clone()

The objects of this class are cloneable with this method.

Usage
EQTLCatalogFetcher$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

  studyIDs <- "GTEx_ge_brain_frontal_cortex"
  chrom <- "8"
  start <- 27610984
  end <- 27610987

  fetcher <- EQTLCatalogFetcher$new(studyIDs, chrom, start, end, simplify=TURE)


paul-shannon/ADvariantExplorer documentation built on May 13, 2022, 5:07 a.m.