View source: R/query_handler.R
query_handler | R Documentation |
Handles which query method to use
query_handler( fullSS_path, colmap, locus_dir = NULL, locus = NULL, topSNPs, subset_path, bp_distance = 5e+05, query_by = c("tabix", "fullSS"), force_new_subset = FALSE, conda_env = "echoR_mini", nThread = 1, verbose = TRUE )
fullSS_path |
Path to the full summary statistics file (GWAS or QTL) that you want to fine-map. It is usually best to provide the absolute path rather than the relative path. |
colmap |
Column name mappings in in
|
locus |
Locus name to fine-map (e.g. |
topSNPs |
A data.frame with the genomic coordinates of the lead SNP
for each locus.
The lead SNP will be used as the center of the window when extracting
subset from the full GWAS/QTL summary statistics file.
Only one SNP per Locus should be included.
At minimum,
|
subset_path |
Path of the resulting locus subset file. |
bp_distance |
Distance around the lead SNP to include. |
query_by |
Choose which method you want to use to extract locus subsets from the full summary stats file. Methods include:
|
force_new_subset |
By default, if a subset of the full
summary stats file for a given locus is already present,
then echolocatoR will just use the pre-existing file.
Set |
conda_env |
Conda environment to use. |
nThread |
Number of threads to parallelise saving across. |
verbose |
Print messages. |
Other query functions:
extract_snp_subset()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.