Spin-based null model where each rotated vertex receives the label of its nearest non-medial-wall original vertex, then parcels are reassigned by majority vote among the resulting vertex labels.
Usage
null_cornblath(
data,
coords,
parcellation,
n_perm = 1000L,
seed = NULL,
rotation = c("euler", "rodrigues")
)Arguments
- data
Numeric vector of brain map values.
- coords
List with
$lhand$rhmatrices of spherical coordinates (n x 3 each).- parcellation
Integer vector of parcel labels for all vertices.
0andNAindicate medial wall.- n_perm
Integer number of null permutations to generate.
- seed
Optional integer seed for reproducibility.
- rotation
Rotation generation method:
"euler"(ZYZ Euler angles, default, matches neuromaps Python) or"rodrigues"(Rodrigues axis-angle formula).
Value
A null_distribution object.