SansSouci-methods: Basic methods for class 'SansSouci'

SansSouci-methodsR Documentation

Basic methods for class SansSouci

Description

Basic methods for class SansSouci

nHyp: get the number of hypotheses

nObs Get the number of observations

label Get the label of a post hoc method

Print 'SansSouci' objects

pValues: get p-values

thresholds: get thresholds

Usage

## S3 method for class 'SansSouci'
nHyp(object)

## S3 method for class 'SansSouci'
nObs(object)

## S3 method for class 'SansSouci'
label(object)

## S3 method for class 'SansSouci'
print(x, ..., verbose = FALSE)

## S3 method for class 'SansSouci'
pValues(object)

## S3 method for class 'SansSouci'
foldChanges(object)

## S3 method for class 'SansSouci'
thresholds(object)

Arguments

object

An object of class SansSouci

x

An object of class SansSouci

...

Not used

verbose

Should detailed output be printed? Defaults to FALSE

Examples

data(expr_ALL, package = "sanssouci.data")
groups <- ifelse(colnames(expr_ALL) == "NEG", 0, 1)
table(groups)
a <- SansSouci(Y = expr_ALL, groups = groups)
print(a)
nHyp(a)
nObs(a)
label(a)

res <- fit(a, B = 100, alpha = 0.1)
label(res)
print(res)
str(pValues(res))
str(foldChanges(res))
str(thresholds(res))
volcanoPlot(res, q = 0.05, r = 0.5)


pneuvial/sanssouci documentation built on Feb. 12, 2024, 4:18 a.m.