- data
a data.frame containing the variables in the formula.
- formula
a formula of the form x ~ group
where x
is a
numeric variable giving the data values and group
is a factor with
one or multiple levels giving the corresponding groups. For example,
formula = TP53 ~ cancer_group
.
- comparisons
A list of length-2 vectors specifying the groups of
interest to be compared. For example to compare groups "A" vs "B" and "B" vs
"C", the argument is as follow: comparisons = list(c("A", "B"), c("B",
"C"))
- ref.group
a character string specifying the reference group. If
specified, for a given grouping variable, each of the group levels will be
compared to the reference group (i.e. control group).
If ref.group = "all"
, pairwise two sample tests are performed for
comparing each grouping variable levels against all (i.e. basemean).
- paired
a logical indicating whether you want a paired test.
- alternative
a character string specifying the alternative
hypothesis, must be one of "two.sided"
(default),
"greater"
or "less"
. You can specify just the initial
letter.
- mu
a number specifying an optional parameter used to form the null
hypothesis.
- ci
If TRUE, returns confidence intervals by bootstrap. May be slow.
- conf.level
The level for the confidence interval.
- ci.type
The type of confidence interval to use. Can be any of "norm",
"basic", "perc", or "bca". Passed to boot::boot.ci
.
- nboot
The number of replications to use for bootstrap.
- ...
Additional arguments passed to the functions
coin::wilcoxsign_test()
(case of one- or paired-samples test) or
coin::wilcox_test()
(case of independent two-samples test).