GWASinspector {GWASinspector} | R Documentation |
Comprehensive and Easy to Use Quality Control of GWAS Results
Description
When evaluating the results of a genome-wide association study (GWAS), it is important to perform a quality control to ensure that the results are valid, complete, correctly formatted, and, in case of meta-analysis, consistent with other studies in the same analysis. This package was developed to facilitate and streamline this process and provide the user with a comprehensive report.
Details
Check out our website for more help and support http://GWASinspector.com.
Functions
setup_inspector
This function Imports a QC-configuration file into R by generating a new instance of Inspector class.
run_inspector
This is the main function for running the algorithm on a set of GWAS result files.
result_inspector
This function displays a brief report about the results of running the Inspector algorithm on a set of GWAS result files.
demo_inspector
This function runs the algorithm on a fabricated GWAS result file. User should only set the output folder for saving the generated files. The input file and reference dataset are embedded in the package.
system_check
Checks if required and optional packages are installed on the system. Although the optional packages do not contribute to the QC itself, having them available will allow for Excel and HTML formatted report files, which are easier to read and interpret.
get_config
Copies the template configuration file to the local machine.
get_headerTranslation
Copies the template configuration file to the local machine.
compare_GWASs
Generates reports and plots for comparing the summary statistics of GWAS result files that are previously inspected with this package.
manhattan_plot
Generates the Manhattan plot from a GWAS result file. This function has many features that are described in the package tutorial.
Note
GWASinspector uses the S4 object system of R to conduct the QC.
The QC is configured using an configuration (ini) file (check get_config
), which is imported into R through setup_inspector
and
turns into an object of the Inspector class. To perform the QC, process the object with run_inspector
.
A quick scan of the results can be performed via result_inspector
, but the primary outcome of the QC are the
report files and graphs generated by run_inspector
.
The main product of the QC is the extensive log file (in Excel/HTML format, depending on your settings)
Author(s)
Maintainer: Alireza Ani a.ani@umcg.nl
Authors:
Peter J. van der Most
Ahmad Vaez
Ilja M. Nolte
See Also
Useful links: