Name Mode Size
R 040000
inst 040000
man 040000
vignettes 040000
.Rbuildignore 100644 0 kb
.gitignore 100644 0 kb
DESCRIPTION 100644 1 kb
NAMESPACE 100644 0 kb
NEWS 100644 1 kb 100644 4 kb
# Qtlizer: comprehensive QTL annotation of GWAS results [![Twitter](]( &nbsp;+ [Introduction](#Introduction)\ &nbsp;+ [Installation](#Installation)\ &nbsp;+ [Usage](#Usage)\ &nbsp;&nbsp;&nbsp;&nbsp;|-- [Accepted query terms](#Accepted-query-terms)\ &nbsp;&nbsp;&nbsp;&nbsp;|-- [Optional parameters](#Optional-parameters)\ &nbsp;&nbsp;&nbsp;&nbsp;|-- [Meta information](#Meta-information)\ &nbsp;+ [Try out online](#Try-out-online)\ &nbsp;+ [Authors](#Authors)\ &nbsp;+ [Citation](#Citation)\ &nbsp;+ [License](#License) ## Introduction This **R** package provides access to the **Qtlizer** web server. **Qtlizer** annotates lists of common small variants (mainly SNPs) and genes in humans with associated changes in gene expression using the most comprehensive database of published quantitative trait loci (QTLs). Alternatively, the **Qtlizer** can be accessed by using a web-based GUI ( More information about usage and available datasets can be found at ## Installation ```R devtools::install_github('matmu/Qtlizer', build_vignettes = TRUE) ``` **Please note**: A valid internet connection (HTTP port: 80) is required in order to install and use the package. ## Help pages ```R browseVignettes(Qtlizer) help(package="Qtlizer") ``` ## Usage Simply call the function `get_qtls()` function to make requests to **Qtilzer**. The function utilizes a REST API ( to query the annotation database. The QTL results will be returned as data frame or as `GenomicRanges::GRanges` object. ```R get_qtls('rs4284742 DEFA1') ``` Common seperators (space, comma, space + comma, ...) are accepted. It is also possible to pass your query with a vector: ```R get_qtls(c("rs4284742", "DEFA1")) ``` ### Accepted query terms Accepted query terms are variant and gene identifiers of the form: + Rsid : rs + number e.g. "rs4284742" + reference:chr:pos e.g. "hg19:19:45412079" (Allowed references: hg19/GRCh37, hg38/GRCh38; accepted chromosomes are 1-22) + Gene symbol consisting of letters and numbers according to []( ### Optional parameters + corr: Correlation threshold based on linkage disequilibrium (LD) calculated from the 1000 Genomes Phase 3 European dataset. Optional value between 0 and 1. Default value is NA. + ld_method: Method to calculate correlation. Valid values are either "r2" (default) or "dprime". ```R get_qtls("rs4284742", corr = 0.6, ld_method="r2") ``` + return_obj: Determinse the format of the result. Value "dataframe" (default) returns a dara frame whereas "grange" returns a ```GenomicRanges::GRanges``` object. + ref_version: If output is a GRange object, the version of the reference genome is also considered. Accepted reference genome versions are "hg19" (default) or "hg38". ```R get_qtls("rs4284742", return_obj = "grange", ref_version = "hg38") ``` + max_terms: Number of queries made at a time. The default value is 5. It is recommended to not set the value higher than 5. ```R get_qtls("rs4284742", max_terms = 4) ``` ### Meta information Column descriptions of the received data frame can be accessed by calling: ```R df = get_qtls("rs4284742") comment(df) ``` ## Try out online If you want to try out the R package online, there is an example **Google Colaboratory** project at To run the project, make a private copy or open the project in playground mode and sign in to Google. ## Authors Matthias Munz [![](](\ Julia Remes\ University of L├╝beck, Germany ## Citation Please cite the following article when using **Qtlizer**: **Munz M**, Wohlers I, Simon E, Busch H, Schaefer A<sup>\*</sup> and Erdmann J <sup>\*</sup> (2018) Qtlizer: comprehensive QTL annotation of GWAS results. ***bioRxiv*** [![](]( [![](]( ## License GNU General Public License v3.0