Skip to contents

Return the per-variant GRanges of summary statistics for one study in a GwasSumStats collection.

Usage

# S4 method for class 'GwasSumStats'
getSumStats(x, study = NULL, ranges = NULL, ...)

Arguments

x

A GwasSumStats object.

study

Character (length 1) study identifier. Optional when the collection has a single row.

ranges

Optional GRanges restricting the returned variants to those it overlaps. NULL (default) returns the study's full set.

...

Additional arguments (currently unused).

Value

A GRanges object.