Get cTWAS Per-effect Susie Alpha Table
Source:R/AllGenerics.R, R/CtwasResult.R, R/CtwasResultEntry.R
getSusieAlpha.RdReturn the full per-effect susie alpha table
(ctwas::finemap_regions susie_alpha_res shape) from a
CtwasResultEntry or a CtwasResult collection
(aggregated across rows, tagged with run identity). This is the fuller
cTWAS output retained so the raw run is reconstructable.
Usage
getSusieAlpha(x, ...)
# S4 method for class 'CtwasResult'
getSusieAlpha(x, ...)
# S4 method for class 'CtwasResultEntry'
getSusieAlpha(x, ...)Examples
cre <- CtwasResultEntry(
finemap = data.frame(id = c("g1", "g2"), susie_pip = c(0.9, 0.1)),
susieAlpha = data.frame(id = c("g1", "g2"), alpha = c(0.9, 0.1)))
getSusieAlpha(cre)
#> id alpha
#> 1 g1 0.9
#> 2 g2 0.1