Calculate the baseline metrics of cell shapes from cell segmentation output

calBaselineCellShapeMetrics(
  spe,
  metrics = c("cell_area", "elongation", "compactness", "eccentricity", "sphericity",
    "solidity", "convexity", "circularity"),
  use_BPPARAM = BiocParallel::SerialParam(),
  rerun = TRUE,
  verbose = TRUE
)

Arguments

spe

A Spatial Experiment object

metrics

A character vector indicating the metrics to be calculated

use_BPPARAM

a BiocParallelParam instance determining the parallel back-end to be used during evaluation.

rerun

A logical value indicates whether to recalculate existing metrics.

verbose

A logical value indicates whether to print out running messages.

Value

A SpatialExperiment object