R/download.R
xQTLdownload_sqtlAllAsso.Rd
Download summary statistics data for sQTLs with a specified gene or a tissue
xQTLdownload_sqtlAllAsso(
genes = "",
geneType = "auto",
tissue = "",
clu_names = "",
clu_geneid_DF = NULL
)
(character) gene symbol or gencode id (versioned or unversioned are both supported).
(character) options: "auto","geneSymbol" or "gencodeId". Default: "gencodeId".
(character) details of tissues in GTEx can be listed using tissueSiteDetailGTExv8
(character) If provided, only the sQTL of clu_names will be downloaded
(data.frame) If provided, clu-gencode mapping relationship will be loaded from this data.frame.
A data.table object of sQTL dataset.
# \donttest{
sQTL_DT <- xQTLdownload_sqtlAllAsso(genes=c("MMP7","TP53"), tissue="Lung")
# }