Skip to contents

Convert a long-format top_loci data.frame (with variant_id in chr:pos:A2:A1 format) to a GRanges object with all metadata columns.

Usage

top_loci_to_granges(top_loci)

Arguments

top_loci

A data.frame with a variant_id column encoding chr:pos:A2:A1.

Value

A GRanges object with all original columns as metadata.