troutpy.tl.quantify_overexpression

troutpy.tl.quantify_overexpression#

troutpy.tl.quantify_overexpression(sdata, codeword_key, control_codewords, gene_key='gene', layer='transcripts', percentile_threshold=100, copy=False)#

Compare counts per gene with counts per non-gene feature. Additionally, perform a Poisson test to check if gene extracellular expression is significantly higher than controls.

Return type:

SpatialData