parse_logs: Parse data from log files

View source: R/parse_logs.R

parse_logsR Documentation

Parse data from log files

Description

Parses data from the log files generated by format_sumstats or import_sumstats when the argument log_mungesumstats_msgs is set to TRUE.

Usage

parse_logs(
  save_dir = getwd(),
  pattern = "MungeSumstats_log_msg.txt$",
  verbose = TRUE
)

Arguments

save_dir

Top-level directory to recursively search for log files within.

pattern

Regex pattern to search for files with.

verbose

Print messages.

Value

data.table of parsed log data.

Examples

save_dir <- system.file("extdata",package = "MungeSumstats")
log_data <- MungeSumstats::parse_logs(save_dir = save_dir)

neurogenomics/MungeSumstats documentation built on Aug. 10, 2024, 5:59 a.m.