Get a GWAS Study's Summary-Statistic GRanges
Source:R/gwasSumStats.R
sumStats-GwasSumStats-method.RdReturn the per-variant GRanges of summary statistics for
one study in a GwasSumStats collection.
Usage
# S4 method for class 'GwasSumStats'
sumStats(
x,
studyName = NULL,
ranges = NULL,
context = NULL,
trait = NULL,
annotateSignificance = NULL
)Arguments
- x
A
GwasSumStatsobject.- studyName
Character (length 1) study identifier. Optional when the collection has a single row.
- ranges
Optional
GRangesrestricting the returned variants to those it overlaps.NULL(default) returns the study's full set.- context, trait, annotateSignificance
QTL-only selectors, named here so that supplying one is an error rather than a silently ignored request. A GWAS has no context or trait axis and carries no significance annotation; leave them
NULL.