Description Usage Arguments Value
View source: R/get_clusters2.R
Count clusters at several levels of z and set threshold. This function is mostly useful for simulations when all of the smoothed statistics are in one data frame. For larger problems see the vignette.
1 2 | get_clusters2(smoothed.stats, pos, zmin, z0 = 0.3 * zmin, level = c(0.02,
0.05, 0.1, 0.2), segment.bounds = NULL)
|
smoothed.stats |
Matrix of smoothed stats. |
pos |
Length p vector of positions |
zmin |
Vector of length 1 or 2 |
level |
Threshold at which to control FDR. |
segment.bounds |
matrix with two columns giving segment bounds |
A list with elements:
clust_num
Matrix of cluster counts nz x (1+n.perm)
bw
Bandwidth used for smoothing
clust
Clusters at zsel
z
All levels looked at
z0
Reference level used for merging
fdr
Estimated fdr at each level
zsel
Selected level of z
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.