dot-make_vertices: Make vertices outlining spots/subspots for geom_polygon()

.make_verticesR Documentation

Make vertices outlining spots/subspots for geom_polygon()

Description

Make vertices outlining spots/subspots for geom_polygon()

Usage

.make_vertices(sce, fill, platform, is.enhanced, nsubspots.per.edge = 3)

Arguments

sce

SingleCellExperiment with row/col in colData

fill

Name of a column in colData(sce) or a vector of values to use as fill for each spot

platform

"Visium", "VisiumHD" or"ST", used to determine spot layout

is.enhanced

If true, sce contains enhanced subspot data instead of spot-level expression. Used to determine spot layout.

Value

Table of (x.pos, y.pos, spot, fill); where spot groups the vertices outlining the spot's border


edward130603/BayesSpace documentation built on Oct. 23, 2024, 7:04 a.m.