check_wilcoxon: Calculate Wilcoxon test (unpaired; BH correction) for the...

Description Usage Arguments Value Author(s) References Examples

View source: R/wilcoxon.R

Description

Calculate Wilcoxon test (unpaired; BH correction) for the specified sample groups.

Usage

1
2
check_wilcoxon(dat, G1, G2, p.adjust.method = "BH", sort = FALSE,
  paired = FALSE)

Arguments

dat

data matrix (features x samples)

G1

Sample group 1 (for comparison)

G2

Sample group 2 (for comparison)

p.adjust.method

p-value correction method for p.adjust function (default 'BH'). If NULL, no correction will be performed.

sort

sort the results

paired

paired Wilcoxon test

Value

(Corrected) p-values for two-group comparison.

Author(s)

Contact: Leo Lahti microbiome-admin@googlegroups.com

References

See citation('microbiome')

Examples

1
2
data(peerj32)
 pval <- check_wilcoxon(t(peerj32$microbes), G1 = 1:22, G2 = 23:44)

microbiome/microbiomeold documentation built on May 22, 2019, 9:57 p.m.