Description Usage Arguments Value See Also
One permutation of sLED
1 2 3 | sLEDOnePermute(i, Z, n1, n2, seeds = NULL, sumabs.seq = 0.2,
adj.beta = -1, rho = 1000, verbose = TRUE, niter = 20,
trace = FALSE)
|
i |
the i-th permutation |
Z |
(n1+n2)-by-p matrix, containing the pooled samples from two populations. Columns are features. |
n1 |
the first n1 rows in Z represent the first population |
n2 |
the (n1+1):(n1+n2) rows in Z represent the second population |
seeds |
a numeric vector, where |
sumabs.seq |
a numeric vector specifing the sequence of sparsity parameters to use, each between 1/sqrt(p) and 1. |
adj.beta |
a positive number representing the power to transform correlation matrices
to weighted adjacency matrices by A_{ij} = |r_ij|^adj.beta,
where r_ij represents the Pearson correlation.
When |
rho |
a large positive constant such that A(X)-A(Y)+diag(rep(rho, p)) is positive definite. |
verbose |
whether to print the progress during permutation tests |
niter |
the number of iterations to use in the PMD algorithm (see |
trace |
whether to trace the progress of PMD algorithm (see |
A list containing the following components:
Tn.permute |
A number represents the test statistic in this permutation. |
Tn.permute.sign |
A string, "pos" if the test statistic is given by sEig(D),
and "neg" if is given by sEig(-D),
where |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.