View source: R/SansSouci-class.R
SansSouci | R Documentation |
Create an object of class 'SansSouci'
SansSouci(Y, groups, truth = NULL)
Y |
A matrix of |
groups |
A numeric vector of |
truth |
An optional numeric vector of $m$ values in $0,1$, the status of each null hypothesis (0 means H0 is true, 1 means H1 is true). Typically used in simulations. |
An object of class "SansSouci"
data(expr_ALL, package = "sanssouci.data")
groups <- ifelse(colnames(expr_ALL) == "NEG", 0, 1)
table(groups)
a <- SansSouci(Y = expr_ALL, groups = groups)
res <- fit(a, B = 100, alpha = 0.1)
plot(res, xmax = 500)
res_beta <- fit(res, B = 100, alpha = 0.1, family = "Beta", K = 10)
plot(res_beta, xmax = 500)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.