Description Usage Arguments Details Value Author(s) Examples
Internal function for mass.t.test
, used in cluster based permutation to find clusters.
1 | find.clusters(tscores, thresh, chan_hood, thresh_sign, min_nchans)
|
tscores |
a electrode by timepoitns matrix of t-scores |
thresh |
The threshold to be used to filter the t-scores. |
chan_hood |
an electrode by electrode matrix. As the one created with |
thresh_sign |
a value (-1 or 1), to specify is positive clusters or negative clusters are searcher. |
min_nchans |
Minimum number of channels to consider a cluster as valid. |
This is an R translation of find.clusters.m function in MASS univariate toolbox. The min_nchans
has been added by me. The min_nchans
is inclued as argument to take into account for volume conduction (i.e., it is unlikely that, especially with dense array, an effect is present only in one channel).
A vector with clusters.
Giorgio Arcara
1 2 3 4 |
# NO EXAMPLES
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.