met.Ttests.Anal | R Documentation |
met.Ttests.Anal
performs the Student's t-test on chosen sample groups. For large datasets (> 1000 variables), both the paired information and the group variance will be ignored, and the default parameters will be used for t-tests to save computational time. If you choose non-parametric tests (Wilcoxon rank-sum test), the group variance will be ignored.
met.Ttests.Anal(
mSetObj = NA,
grp1,
grp2,
nonpar = FALSE,
threshp = 0.05,
paired = FALSE,
equal.var = TRUE,
pvalType = "fdr",
all_results = TRUE,
silent = FALSE
)
mSetObj |
Enter the name of the created mSet object (see |
grp1 |
(Character) Enter name of the first group for the contrast |
grp2 |
(Character) Enter name of the second group for the contrast |
nonpar |
(Logical) Use a non-parametric test ( |
threshp |
(Numerical) Enter the adjusted p-value (FDR) cutoff. |
paired |
(Logical) Is the data paired ( |
equal.var |
(Logical) Is the group variance equal ( |
pvalType |
(Character) p value type used to apply significances based on the chosen threshold |
all_results |
(Logical) Create a CSV file with T-Test results for all compounds ( |
silent |
(Logical) Suppress message about the number of significant features found in the console ( |
The input mSet object with T-Test results added at mSetObj$analSet$tt$grp1_vs_grp2.
Nicolas T. Wirth mail.nicowirth@gmail.com Technical University of Denmark License: GNU GPL (>= 2)
adapted from Ttests.Anal
(https://github.com/xia-lab/MetaboAnalystR).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.