View source: R/XGR_prepare_foreground_background.R
XGR_prepare_foreground_background | R Documentation |
Prepare custom foreground and background SNPs sets for enrichment tests with XGR annotations.
XGR_prepare_foreground_background(
dat,
foreground_filter = "Support>0",
background_filter = NULL,
fg_sample_size = NULL,
bg_sample_size = NULL,
verbose = TRUE
)
dat |
Data.frame with at least the following columns:
|
foreground_filter |
Specify foreground by filtering SNPs
in |
background_filter |
Specify background by filtering SNPs
in |
Other XGR:
XGR_enrichment_bootstrap()
,
XGR_enrichment_plot()
,
XGR_enrichment()
,
XGR_filter_assays()
,
XGR_filter_sources()
,
XGR_import_annotations()
,
XGR_iterate_enrichment()
,
XGR_iterate_overlap()
,
XGR_merge_and_process()
,
XGR_parse_metadata()
,
XGR_plot_enrichment()
,
XGR_query()
,
XGR_sep_handler()
,
xgr_example
## Not run:
fg_bg <- echoannot:::XGR_prepare_foreground_background(
dat = echodata::get_Nalls2019_merged(),
foreground_filter = "Consensus_SNP==TRUE",
background_filter = "leadSNP==TRUE"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.