Usage
entropyTest(Y, id, nPerm = 1000, method = "normal", k0 = 1, k1 = 1,
center = TRUE, lowCiThres=0.10, ncpus=1, verbose=FALSE)
Arguments
Y
(High-dimensional) matrix. Rows are assumed to represent the samples, and columns represent the samples' genes or traits.
id
An indicator variable for the two groups to be compared. The groups should be coded as 0 and 1.
There is an asymmetric interest in the groups: the group indicated by 1 is believed to exhibit a larger entropy.
nPerm
Number of permutations.
method
Distributional assumption under which entropy is to be estimated.
k0
k-nearest neighbor parameter for group comprising of samples indicated by a zero in the indicator variable id.
k1
k-nearest neighbor parameter for group comprising of samples indicated by a one in the indicator variable id.
center
Logical indicator: should the columns of Y be centered around zero?
lowCiThres
A value between 0 and 1. Determines speed of efficient p-value calculation.
If the probability of a p-value being below lowCiThres is smaller than 0.001 (read: the test is unlikely to become significant), the permutation analysis is terminated and a p-value of 1.00 is reported.
ncpus
Number of cpus used for the permutations.
verbose
Logical indicator: should intermediate output be printed on the screen?