View source: R/wilcox_test_class.R
wilcox_test | R Documentation |
A Mann-Whitney-Wilcoxon signed rank test compares ,the ranks of values in two groups. It is the non-parametric equivalent of a t-test. Multiple test corrected p-values are computed as indicators of significance for each variable/feature.
wilcox_test(
alpha = 0.05,
mtc = "fdr",
factor_names,
paired = FALSE,
paired_factor = character(0),
conf_level = 0.95,
...
)
alpha |
(numeric) The p-value cutoff for determining significance. The default is |
mtc |
(character) Multiple test correction method. Allowed values are limited to the following:
The default is |
factor_names |
(character) The name of a sample-meta column to use. |
paired |
(logical) Apply a paired test. The default is |
paired_factor |
(character) The factor name containing sample ids for paired data. The default is |
conf_level |
(numeric) The confidence level of the interval. The default is |
... |
Additional slots and values passed to |
A wilcox_test
object with the following output
slots:
statistic | (data.frame) The value of the calculated statistic which is converted to a p-value. |
p_value | (data.frame) The probability of observing the calculated t-statistic. |
dof | (numeric) The number of degrees of freedom used to calculate the test statistic. |
significant | (data.frame) TRUE if the calculated p-value is less than the supplied threhold (alpha). |
conf_int | (data.frame) Confidence interval for t statistic. |
estimates | (data.frame) The group estimates used when computing the statistic. |
struct object
A wilcox_test
object inherits the following struct
classes:
[wilcox_test]
>> [model]
>> [struct_class]
M = wilcox_test(
alpha = 0.05,
mtc = "fdr",
factor_names = "V1",
paired = FALSE,
paired_factor = character(0),
conf_level = 0.95)
M = wilcox_test(factor_name='Class')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.