2.1 Method 1: Tabix Faster alternative to REST API.

fetch_tabix(
  unique_id,
  quant_method = "ge",
  infer_region = T,
  gwas_data = NULL,
  chrom = NULL,
  bp_lower = NULL,
  bp_upper = NULL,
  is_gwas = F,
  nThread = 4,
  verbose = T
)

Arguments

quant_method

eQTL Catalogue actually contains more than just eQTL data. For each dataset, the following kinds of QTLs can be queried:

gene expression QTL

quant_method="ge" (default) or quant_method="microarray", depending on the dataset. catalogueR will automatically select whichever option is available.

exon expression QTL

*under construction* quant_method="ex"

transcript usage QTL

*under construction* quant_method="tx"

promoter, splice junction and 3' end usage QTL

*under construction* quant_method="txrev"

nThread

The number of CPU cores you want to use to speed up your queries through parallelization.

verbose

Show more (=T) or fewer (=F) messages.

See also

Examples

data("meta"); data("BST1"); qtl.subset <- fetch_tabix(unique_id=meta$unique_id[2], gwas_dat=BST1)
#> [1] "++ Inferring coordinates from gwas_data"
#> Warning: error in running command
#> Warning: File '/var/folders/zq/h7mtybc533b1qzkys_ttgpth0000gn/T//RtmpIjYyRa/file18022df66507' has size 0. Returning a NULL data.table.
#> Error in dirname(header_path): object 'header_path' not found