Loads GWAS summary statistics from a file, supporting various formats. The function automatically detects common separators and handles standard GWAS file formats.
Examples
# \donttest{
# Load example data
file_path <- system.file("extdata", "example_gwas.tsv", package = "pleior")
if (file.exists(file_path)) {
gwas_data <- load_gwas_data(file_path)
head(gwas_data)
}
# }