| null_spin_vasa | R Documentation |
Generate spatially-constrained null distributions using spin-based permutation of spherical coordinates.
null_spin_vasa(
data,
coords,
n_perm = 1000L,
seed = NULL,
rotation = c("euler", "rodrigues")
)
null_spin_hungarian(
data,
coords,
n_perm = 1000L,
seed = NULL,
rotation = c("euler", "rodrigues")
)
data |
Numeric vector of brain map values. |
coords |
List with |
n_perm |
Integer number of null permutations to generate. |
seed |
Optional integer seed for reproducibility. |
rotation |
Rotation generation method: |
A null_distribution object.
Alexander-Bloch AF et al. (2018) NeuroImage 175:111-120. doi:10.1016/j.neuroimage.2018.04.023
Vasa F et al. (2018) Cerebral Cortex 28:3293-3303. doi:10.1093/cercor/bhx195
Markello RD, Misic B (2021) NeuroImage 236:118052. doi:10.1016/j.neuroimage.2021.118052
coords <- list(lh = matrix(rnorm(30), 10, 3), rh = matrix(rnorm(30), 10, 3))
data <- rnorm(20)
nd <- null_spin_vasa(data, coords, n_perm = 10L, seed = 1L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.