Extract the association p-value vector from a
GwasSumStats or QtlSumStats entry, selected by its identity
tuple. Part of the first-class summary-statistic column set alongside
z / coef / se.
Usage
pval(x, ...)
# S4 method for class 'SumStatsBase'
pval(
x,
studyName = NULL,
context = NULL,
trait = NULL,
annotateSignificance = NULL,
ranges = NULL
)Arguments
- x
A
GwasSumStatsorQtlSumStatsobject.- ...
Class-specific selection arguments.
- studyName
Character (length 1) or
NULL. Restrict the selection to this study;NULLmatches all studies.- context
Character (length 1) or
NULL. Restrict the selection to this context;NULLmatches all contexts.- trait
Character (length 1) or
NULL. Restrict the selection to this trait;NULLmatches all traits.- annotateSignificance
Optional correction-method name passed through to
sumStats(QTL only);NULLapplies none.- ranges
A
GRangesorNULL(default). Return only the variants overlapping these ranges;NULLreturns everything.
Examples
data(qtlSumStatsExample)
pval(qtlSumStatsExample)
#> NULL