Query supported terms (phenotypes, studies, tissues) in eQTL catalogue

EBIquery_allTerm(term = "genes", termSize = 2000)

Arguments

term

"associations", "molecular_phenotypes", "studies", "tissues", "qtl_groups", "genes" or "chromosomes".

termSize

Number of fetched term.

Value

A data.table object.

Examples

# \donttest{
# Fetch associatons:
associations <- data.table::rbindlist(EBIquery_allTerm("associations",termSize=0))

# fetch molecular_phenotypes:
molecular_phenotypes <- EBIquery_allTerm("molecular_phenotypes", termSize=10)

# fetch studies:
studies <- EBIquery_allTerm("studies")

# fetch tissues:
tissues <- EBIquery_allTerm("tissues")

# fetch tissue-study mapping relationships
tissue_S <- EBIquery_allTerm( paste0("tissues/", "UBER_0002046","/studies" ))

# fetch qtl groups:
qtl_groups <- EBIquery_allTerm("qtl_groups")

# Fetch genes:
geneList <- EBIquery_allTerm("genes", termSize=10)

# Fetch datasets (API v2):
datasets <- EBIquery_allTerm("datasets", termSize=100)
datasets[datasets$study_label=="GTEx" & datasets$quant_method=="ge", ]
# }