wilcoxon_test_runner: Wilcoxon rank sum test runner

Description Usage Arguments Value

View source: R/wilcoxon_test_runner.R

Description

This function tests the differential abundance of features (e.g., ASVs, OTUs, or OPUs) between groups using the Wilcoxon rank sum test.

Usage

1
wilcoxon_test_runner(X, G, P = 0.001, NSLOTS = 4)

Arguments

X

Abundance table (i.e., data.frame) formatted as samples x features. Sample names should be set as rownames.

G

Groups table (i.e., data.frame). This table should have two columns: the first column with the sample names and the second column with groups numbers.

P

P-value used to select singificant features. Default 1e-3.

NSLOTS

Number of cores used. Default 4.

Value

This function returns a list where each element corresponds to a group (tested against all the other groups) and consists of a vector of significant features.


pereiramemo/IndEC documentation built on Dec. 22, 2021, 7:43 a.m.