Learn R Programming

MineICA (version 1.12.0)

wilcoxOrKruskalOnA: Comparison of distributions of sample groups

Description

Compare the sample contributions according to their annotation level across the components.

Usage

wilcoxOrKruskalOnA(A, colAnnot, annot)

Arguments

A
A matrix of dimensions 'samples x components' containing the sample contributions
annot
A matrix of dimensions 'samples x variables' containing the sample annotations
colAnnot
The name of the column of annot to be considered

Value

A vector of p-values

Details

Wilcoxon or Kruskal-Wallis tests are performed depending on the number of levels in the considered annotation.

See Also

wilcox.test, kruskal.test