read_header {MungeSumstats}R Documentation

Read in file header

Description

Read in file header

Usage

read_header(path, n = 2, skip_vcf_metadata = FALSE)

Arguments

path

Filepath for the summary statistics file to be formatted. A dataframe or datatable of the summary statistics file can also be passed directly to MungeSumstats using the path parameter.

n

integer. The (maximal) number of lines to read. Negative values indicate that one should read up to the end of input on the connection.

skip_vcf_metadata

logical, should VCF metadata be ignored

Value

First n lines of the VCF header


[Package MungeSumstats version 1.1.33 Index]