performTest: Perform the user-provided association test
Description
This function directs to perform the user-given method.
Usage
performTest(Dx, Dy, testname, nperm)
Arguments
Dx
A numeric matrix of pairwise distances.
Dy
A second numeric matrix of pairwise distances.
testname
Association methods. Use "HHG" for HHG test, "dCor" for dCOr test, "Mantel" for
mantel test, "RV" for RV test and "RI" for Rand index test.