Run the GoShifter locus-specific enrichment pipeline. This function orchestrates the full workflow: preparing SNP maps and LD files, querying ROADMAP annotations, running the GoShifter permutation test, and collecting results.
GOSHIFTER(
locus_dir,
dat,
SNP_group = "",
goshifter_path = NULL,
permutations = 1000,
ROADMAP_search = "",
chromatin_states = c("TssA"),
R2_filter = 0.8,
overlap_threshold = 1,
force_new_goshifter = FALSE,
remove_tmps = TRUE,
verbose = TRUE,
save_results = TRUE
)Path to the locus-level results directory.
A data.table or data.frame with columns
SNP, CHR, POS, and P.
Character string labelling this group of SNPs
(default "").
Path to the directory containing
goshifter.py. If NULL, the bundled copy shipped with
echolocatoR is used (see GOSHIFTER_find_folder).
Number of permutations for the enrichment test
(default 1000).
A keyword query passed to
ROADMAP_query to filter ROADMAP annotations
(e.g. "monocyte").
Character vector of chromatin state abbreviations
to test enrichment for (default c("TssA")).
LD r-squared threshold for GoShifter
(default 0.8).
Minimum number of overlapping SNPs required
before running GoShifter on an annotation (default 1).
If TRUE, re-run even if results
already exist on disk (default FALSE).
Remove intermediate GoShifter output files after
collecting results (default TRUE).
Print messages (default TRUE).
Write combined results to a tab-delimited file
(default TRUE).
A data.table of GoShifter enrichment results across
all requested chromatin states.
Other GOSHIFTER:
GOSHIFTER_bed_names(),
GOSHIFTER_check_overlap(),
GOSHIFTER_create_LD(),
GOSHIFTER_create_snpmap(),
GOSHIFTER_find_folder(),
GOSHIFTER_get_roadmap_annotations(),
GOSHIFTER_heatmap(),
GOSHIFTER_histograms_SNPgroups(),
GOSHIFTER_histograms_pvals(),
GOSHIFTER_list_chromatin_states(),
GOSHIFTER_process_results(),
GOSHIFTER_run(),
GOSHIFTER_search_ROADMAP(),
GOSHIFTER_summarise_results()