View source: R/bGWAS_PriorGWASs.R
select_priorGWASs | R Documentation |
Allow the quick selection of a subset of prior GWASs based on 2 criteria. First, include all the files specified (if all including parameters are NULL, include all studies), and then remove all the files specified (if all excluding parameters are NULL, keep all studies included at the step before)
select_priorGWASs(
include_files = NULL,
include_traits = NULL,
exclude_files = NULL,
exclude_traits = NULL,
Z_matrices = "~/ZMatrices/",
verbose = F
)
include_files |
list of file names (see |
include_traits |
list of trait (see |
exclude_files |
list of file names (see |
exclude_traits |
list of trait (see |
Z_matrices |
The path to the folder containing Z-Matrices, |
verbose |
boolean, default = FALSE |
IDs (numeric) of studies that meet the criteria
## Not run:
AllStudies = list_priorGWASs()
list_traits()
MyStudies = select_priorGWASs(include_traits=c("Heart Rate", "Body Mass Index", "Smoking"))
AllStudies[AllStudies$ID %in% MyStudies, c("ID", "Name", "Trait", "File")]
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.