View source: R/nulls-alexander-bloch.R
| null_alexander_bloch | R Documentation |
Original vertex-level spin test: rotates coordinates and assigns each rotated vertex the value of its nearest original vertex (no optimal matching).
null_alexander_bloch(
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
coords <- list(lh = matrix(rnorm(30), 10, 3), rh = matrix(rnorm(30), 10, 3))
data <- rnorm(20)
nd <- null_alexander_bloch(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.