vectorized_wilcoxon_test: Perform a Wilcoxon rank-sum test comparing a metric to each...

Description Usage Arguments

Description

This function is similar to apply(m, 2, function(col) wilcox.test(y ~ col)$p.value), but is vectorized to make it much faster

Usage

1
vectorized_wilcoxon_test(m, y, alternative = "two.sided", tbl = FALSE)

Arguments

m

binary matrix

y

numeric vector to test each column of m against

alternative

whether to use a one-sided test, and if so which way

tbl

whether to return a data.frame rather than a vector


dgrtwo/GSEAMA documentation built on May 15, 2019, 7:22 a.m.