Per-run cTWAS payload wrapping the fine-mapping posterior table,
the full per-effect susie alpha table, the estimated group prior(s), and
region metadata. Held in every row of a CtwasResult
collection.
Arguments
- finemap
The per-gene (and, when SNPs are retained, per-SNP) posterior summary table (
ctwas::finemap_regionsfinemap_resshape), orNULL.- susieAlpha
The per-effect susie alpha table (
ctwas::finemap_regionssusie_alpha_resshape) – the fuller cTWAS output retained so the raw run is reconstructable, orNULL.- param
The estimated
group_prior/group_prior_varfor this run, orNULL.- regionInfo
Per-region metadata, or
NULL.
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)))
cre
#> An object of class "CtwasResultEntry"
#> Slot "finemap":
#> id susie_pip
#> 1 g1 0.9
#> 2 g2 0.1
#>
#> Slot "susieAlpha":
#> id alpha
#> 1 g1 0.9
#> 2 g2 0.1
#>
#> Slot "param":
#> NULL
#>
#> Slot "regionInfo":
#> NULL
#>