Produces a dataframe of entropies for all reference cells or an entropy number for the whole image if a radius is not supplied.
entropy(sce_object, types_of_interest, column, radius = NULL)
sce_object | SingleCellExperiment object in the form of the output of format_image_to_sce |
---|---|
types_of_interest | Cell.Types of interest, the first celltype is considered as referece celltype |
column | String specifying the column the markers are from |
radius | (OPTIONAL) The maximum radius around a reference cell for another cell to be considered an interaction. |
A dataframe or a number depending on the argument radius