calBaselineAllMetrics.Rd
Calculate the baseline metrics of cell from cell segmentation output
calBaselineAllMetrics(
spe,
metrics = c("total_transciprts", "total_genes", "total_cells", "meanExprsPct_cells",
"cell_area", "elongation", "compactness", "eccentricity", "sphericity", "solidity",
"convexity", "circularity", "density"),
use_BPPARAM = BiocParallel::SerialParam(),
rerun = TRUE,
verbose = TRUE
)
A Spatial Experiment object
A character vector indicating the metrics to be calculated
a BiocParallelParam instance determining the parallel back-end to be used during evaluation.
A logical value indicates whether to recalculate existing metrics.
A logical value indicates whether to print out running messages.
A SpatialExperiment object