View source: R/list_sumstats.R
| list_sumstats | R Documentation | 
Searches for and lists local GWAS summary statistics files munged by format_sumstats or import_sumstats.
list_sumstats(
  save_dir = getwd(),
  pattern = "*.tsv.gz$",
  ids_from_file = TRUE,
  verbose = TRUE
)
save_dir | 
 Top-level directory to recursively search for summary statistics files within.  | 
pattern | 
 Regex pattern to search for files with.  | 
ids_from_file | 
 Try to extract dataset IDs from file names.
If   | 
verbose | 
 Print messages.  | 
Named vector of summary stats paths.
save_dir <- system.file("extdata",package = "MungeSumstats")
munged_files <- MungeSumstats::list_sumstats(save_dir = save_dir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.