Function to calculate gene signature enrichment scores per spatial position using PAGE.
PAGEEnrich(...)Arguments passed on to runPAGEEnrich
gobjectGiotto object
sign_matrixMatrix of signature genes for each cell type / process
expression_valuesexpression values to use
min_overlap_genesminimum number of overlapping genes in sign_matrix required to calculate enrichment
reverse_log_scalereverse expression values from log scale
logbaselog base to use if reverse_log_scale = TRUE
output_enrichmenthow to return enrichment output
p_valuecalculate p-values (boolean, default = FALSE)
include_depletioncalculate both enrichment and depletion
n_timesnumber of permutations to calculate for p_value
max_blocknumber of lines to process together (default = 20e6)
nameto give to spatial enrichment results, default = PAGE
verbosebe verbose
return_gobjectreturn giotto object