discr.tests.two_sample_test: Discriminability Two Sample Permutation Test

Description Usage Arguments Value Author(s)

Description

A function that permutes the labels of a distance matrix to obtain an empirical pvalue associated with whether the raw score is due to random chance.

Usage

1
discr.tests.two_sample_test(dist1, dist2, ids, nperm = 100, verbose = FALSE)

Arguments

D1[nxn]:

the first distance matrix to run a permutation test for. An [nxn] matrix.

D2[nxn]:

the second distance matrix to run a permutation test for. An [nxn] matrix.

labels[n]:

the labels organized appropriately with the distance matrices. Label 1 should correspond to the first column, 2 the second, and so on.

verbose=FALSE:

whether to print the itereation numbers.

nperm=100:

the number of permutations to perform.

Value

pval: the pvalue associated with the permutation test.

Author(s)

Shangsi Wang


ebridge2/Discriminability documentation built on May 15, 2019, 7:48 p.m.