addVoronoiArea: addVoronoiArea Calculate Voronoi area in a SpatialExperiment...

Description Usage Arguments Value

View source: R/voronoi.r

Description

This function calculates Voronoi area for every image in a SpatialExperiment object and adds it to the reducedDim slot Voronoi should be calculated for each image separately, so if data come from several cores, slides, images, and so on then spatialCoords should have a column that specifies how to split.

Usage

1
addVoronoiArea(se, splitBy = NULL)

Arguments

se

a SpatialExperiment object.

splitBy

a character string or interger that specifies a column in spatialCoords to use to split coordiatnes if they correspond to several images. NULL means there is only one image in the object.

Value

a SpatialExperiment object.


ldanilova/TMEMap documentation built on Dec. 21, 2021, 9:46 a.m.