Skip to contents

Extracts the genomic ranges and metadata columns into a plain data.frame with columns SNP, CHR, BP, A1, A2, Z, N (and any optional columns such as MAF, BETA, SE, P).

Usage

# S3 method for class 'GWASSumStats'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)

Arguments

x

A GWASSumStats object.

row.names

Ignored (present for S3 generic compatibility).

optional

Ignored.

...

Ignored.

Value

A data.frame.