Creates random combinations of phenotypes by shuffling markers. and calculates the enrichment and depletion p values. -- p values based on what hypothesis? Does this need an explanation of what context you would use this in?(?)
Arguments
- sce_object
SingleCellExperiment object in the form of the output of
format_image_to_sce
.- num_iter
Integer specifying the number of iterations for bootstrapping.
Examples
sig <- marker_permutation(SPIAT::simulated_image, num_iter = 100)