Calculate a specified metric for each little grid in the image and plot the metrics for the grids

grid_metrics(sce_object, FUN, n_split, ...)

Arguments

sce_object

SingleCellExperiment object in the form of the output of format_image_to_sce

FUN

Variable name specifying the metric to be calculated

n_split

Integer specifying the number of splits for the calculation of metrics

...

arguments of FUN

Value

a list of the metrics of all grids