View source: R/check_required_cols.R
check_required_cols | R Documentation |
Check whether the input data (dat
)
has the minimum columns required
to run each fine-mapping method, as well as suggested columns.
check_required_cols( dat, finemap_methods = NULL, case_control = TRUE, verbose = TRUE )
dat |
data.table containing SNP-level data to fine-map. |
finemap_methods |
Fine-mapping methods to run. See lfm for a list of all fine-mapping methods currently available. |
case_control |
Whether the summary statistics come from a case-control
study (e.g. a GWAS of having Alzheimer's Disease or not) ( |
verbose |
Print messages. |
dat <- echodata::BST1 finemap_methods <- check_required_cols(dat=dat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.