Skip to contents

Harmonise GWAS

Usage

harmonise_gwas(gwas, ref, join = "chr:bp", action = 2, ...)

Arguments

gwas

a GWAS object, data.table, or file path

ref

a GWAS object, data.table, or file path

join

a character, either 'chr:pos'(default) or 'rsid', the columns to perform the join on

action

an integer, 1-, 2-, or 3-

...

additional parameters below

rmap

a named vector or list, mapping reference input, standard name = old name (active if using data.table or file path inputs)

gmap

a named vector or list, mapping gwas input, standard name = old name (active if using data.table or file path inputs)

Value

a data.table, harmonised GWAS data