Assigns classification labels to pixels based on gene expression similarity.
assignFill.RdThis function categorizes pixels into four groups based on their similarity in gene expression between two spatial experiments. The assigned classification is stored in a new column, `fill`, within the input data frame.
Value
The input data frame with an additional column, `fill`, which assigns classification labels to pixels:
1Pixels classified as similar (within the fold-change threshold).
2Pixels with greater expression in dataset X than Y
3Pixels with greater expression in dataset Y than X
4Pixels with gene expression below the threshold in both experiments.