Cluster communication with spatial permutation
Source:R/cluster_communication.R
cluster_communication_spatial_permutation.RdPermutation test that preserves spatial structure by rotating coordinates.
Usage
cluster_communication_spatial_permutation(
seurat_obj,
database_name,
clustering,
lr_pair = NULL,
pathway_name = NULL,
spatial_coords = NULL,
n_permutations = 100L,
random_seed = NULL,
verbose = TRUE
)