Skip to contents

Return the estimated group_prior / group_prior_var of a CtwasResultEntry.

Usage

ctwasGroupPriors(x, ...)

# S4 method for class 'CtwasResultEntry'
ctwasGroupPriors(x)

Arguments

x

A CtwasResultEntry.

...

Reserved for future use.

Value

The stored parameter object (typically a list), or NULL.

Examples

cre <- CtwasResultEntry(
  posteriors = 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)))
ctwasGroupPriors(cre)
#> NULL