Skip to contents

Generates rows of synthetic GWAS summary stats data. Useful for developing plotting and other methods. No attempt is made to make this data at all realistic.

Usage

generate_random_gwas_data(n, seed = 2023)

Arguments

n

number of fake variants to generate

seed

seed, for reproducibility

Value

a data.table with columns SNP, CHR, BP, OA, EA, EAF, BETA, P, EUR_EAF