- x
Either an object of class nvd listing networks in sample 1 or a
distance matrix of size \(n_1 + n_2\).
- y
Either an object of class nvd listing networks in sample 2 or an
integer value specifying the size of sample 1 or an integer vector
specifying the indices of the observations belonging to sample 1.
- representation
A string specifying the desired type of representation,
among: "adjacency", "laplacian" and "modularity".
Defaults to "adjacency".
- distance
A string specifying the chosen distance for calculating the
test statistic, among: "hamming", "frobenius",
"spectral" and "root-euclidean". Defaults to
"frobenius".
- stats
A character vector specifying the chosen test statistic(s),
among: "original_edge_count", "generalized_edge_count",
"weighted_edge_count", "student_euclidean", "welch_euclidean" or any
statistics based on inter-point distances available in the flipr
package: "flipr:student_ip", "flipr:fisher_ip", "flipr:bg_ip",
"flipr:energy_ip", "flipr:cq_ip". Defaults to c("flipr:student_ip", "flipr:fisher_ip").
- B
The number of permutation or the tolerance. If this number is lower
than 1, it is intended as a tolerance. Otherwise, it is intended as
the number of required permutations. Defaults to 1000L.
- test
A character string specifying the formula to be used to compute
the permutation p-value. Choices are "estimate", "upper_bound" and
"exact". Defaults to "exact" which provides exact tests.
- k
An integer specifying the density of the minimum spanning tree used
for the edge count statistics. Defaults to 5L.
- seed
An integer for specifying the seed of the random generator for
result reproducibility. Defaults to NULL.
- ...
Extra arguments to be passed to the distance function.