ttest {structToolbox} | R Documentation |
A t-test compares the means of two factor levels. Multiple-test corrected p-values are used to indicate the significance of the computed difference for all features.
ttest( alpha = 0.05, mtc = "fdr", factor_names, paired = FALSE, paired_factor = character(0), equal_variance = FALSE, ... )
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 sample meta column(s) to use. |
paired |
(logical) Apply a paired t-test. The default is |
paired_factor |
(character) The factor name that encodes the sample id for pairing. The default is |
equal_variance |
(logical) Equal variance. Allowed values are limited to the following:
The default is |
... |
Additional slots and values passed to |
A ttest
object.
M = ttest(factor_name='Class')