Get Standardized Sumstat Data Frame for One Tuple
Source:R/AllGenerics.R, R/qtlSumStats.R, R/gwasSumStats.R
getSumstatDf.RdReturn a per-tuple summary-statistics data.frame
in the standardized layout variant_id, chrom, pos, A1, A2,
z, beta, se, N, maf (optional columns omitted when absent on the
entry). Combines tuple-keyed row selection (getSumStats)
with mcols unpacking; replaces the pre-S4 idiom of pulling
S4Vectors::mcols(entry)$<col> directly inside pipelines.
Usage
getSumstatDf(x, ...)
# S4 method for class 'QtlSumStats'
getSumstatDf(
x,
study = NULL,
context = NULL,
trait = NULL,
require = character(0),
derive = c("none", "zFromBetaSe"),
keepChrPrefix = TRUE
)
# S4 method for class 'GwasSumStats'
getSumstatDf(
x,
study = NULL,
require = character(0),
derive = c("none", "zFromBetaSe"),
keepChrPrefix = TRUE
)